summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryant Mairs <bryantmairs@google.com>2017-12-15 15:01:04 -0800
committerBryant Mairs <bryantmairs@google.com>2017-12-20 07:05:04 -0800
commit1c9f6c872d0e6e5fcd6a875f484131e1c095cb05 (patch)
tree987ab6933310dbda58eaf79cf4f8faf9ea7720c6
parentd8c538525807253aea6c64fc4bdcdb8a6e24f78d (diff)
downloadnix-1c9f6c872d0e6e5fcd6a875f484131e1c095cb05.zip
Use println!() instead of print!(...n)
-rw-r--r--test/test_mount.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_mount.rs b/test/test_mount.rs
index e4cd6ba7..89416a43 100644
--- a/test/test_mount.rs
+++ b/test/test_mount.rs
@@ -213,15 +213,15 @@ exit 23";
/// Mimic normal test output (hackishly).
macro_rules! run_tests {
( $($test_fn:ident),* ) => {{
- print!("\n");
+ println!();
$(
print!("test test_mount::{} ... ", stringify!($test_fn));
$test_fn();
- print!("ok\n");
+ println!("ok");
)*
- print!("\n");
+ println!();
}}
}