From 1f5b490dd79b1917a96c5e71c4f6657efbf8b9be Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 1 Nov 2018 11:51:07 +0100 Subject: [PATCH] Change test output to use debug!() --- lib/entry/libimagentrylink/src/internal.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/entry/libimagentrylink/src/internal.rs b/lib/entry/libimagentrylink/src/internal.rs index 6b0a34c2..3c424411 100644 --- a/lib/entry/libimagentrylink/src/internal.rs +++ b/lib/entry/libimagentrylink/src/internal.rs @@ -840,11 +840,11 @@ mod test { { assert!(e1.remove_internal_link(&mut e2).is_ok()); - println!("{:?}", e2.to_str()); + debug!("{:?}", e2.to_str()); let e2_links = e2.get_internal_links().unwrap().collect::>(); assert_eq!(e2_links.len(), 0, "Expected [], got: {:?}", e2_links); - println!("{:?}", e1.to_str()); + debug!("{:?}", e1.to_str()); let e1_links = e1.get_internal_links().unwrap().collect::>(); assert_eq!(e1_links.len(), 0, "Expected [], got: {:?}", e1_links);