Change test output to use debug!()

This commit is contained in:
Matthias Beyer 2018-11-01 11:51:18 +01:00
parent 1f5b490dd7
commit a45691ef27

View file

@ -443,7 +443,7 @@ mod tests {
let entries : Vec<_> = entries.unwrap().without_store().collect(); let entries : Vec<_> = entries.unwrap().without_store().collect();
assert_eq!(2, entries.len(), "Expected 2 links, got: {:?}", entries); assert_eq!(2, entries.len(), "Expected 2 links, got: {:?}", entries);
println!("{:?}", entries); debug!("{:?}", entries);
} }
#[test] #[test]
@ -476,7 +476,7 @@ mod tests {
let entries : Vec<_> = entries.unwrap().without_store().collect(); let entries : Vec<_> = entries.unwrap().without_store().collect();
assert_eq!(3, entries.len(), "Expected 3 links, got: {:?}", entries); assert_eq!(3, entries.len(), "Expected 3 links, got: {:?}", entries);
println!("{:?}", entries); debug!("{:?}", entries);
} }
#[test] #[test]
@ -509,7 +509,7 @@ mod tests {
let entries : Vec<_> = entries.unwrap().without_store().collect(); let entries : Vec<_> = entries.unwrap().without_store().collect();
assert_eq!(1, entries.len(), "Expected 1 entries, got: {:?}", entries); assert_eq!(1, entries.len(), "Expected 1 entries, got: {:?}", entries);
println!("{:?}", entries); debug!("{:?}", entries);
} }
#[test] #[test]