From 308afc5a252bfe496fe4e9e87b7d842ff6a46c6a Mon Sep 17 00:00:00 2001 From: Dan Robertson Date: Wed, 22 Nov 2017 07:53:41 +0000 Subject: [PATCH] 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. --- src/iface/neighbor.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/iface/neighbor.rs b/src/iface/neighbor.rs index 1cf4f84..58e749f 100644 --- a/src/iface/neighbor.rs +++ b/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)); }