소스 검색

Remove debug println in test_evict

The println's surrounding the final cache fill in test_evict that causes
PADDR_B to be evicted are not needed.
Dan Robertson 7 년 전
부모
커밋
0772bb0044
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/iface/neighbor.rs

+ 0 - 2
src/iface/neighbor.rs

@@ -219,9 +219,7 @@ mod test {
         assert_eq!(cache.lookup_pure(&PADDR_B, 1000), Some(HADDR_B));
         assert_eq!(cache.lookup_pure(&PADDR_D, 1000), None);
 
-        println!("{:?}", cache);
         cache.fill(PADDR_D, HADDR_D, 300);
-        println!("{:?}", cache);
         assert_eq!(cache.lookup_pure(&PADDR_B, 1000), None);
         assert_eq!(cache.lookup_pure(&PADDR_D, 1000), Some(HADDR_D));
     }