about summary refs log tree commit diff
path: root/src/libextra/fileinput.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libextra/fileinput.rs')
-rw-r--r--src/libextra/fileinput.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libextra/fileinput.rs b/src/libextra/fileinput.rs
index 8f176d5ccea..fda88c583ce 100644
--- a/src/libextra/fileinput.rs
+++ b/src/libextra/fileinput.rs
@@ -506,7 +506,7 @@ mod test {
             let contents =
                 vec::from_fn(3, |j| format!("{} {}", i, j));
             make_file(filename.get_ref(), contents);
-            debug2!("contents={:?}", contents);
+            debug!("contents={:?}", contents);
             all_lines.push_all(contents);
         }
 
@@ -555,7 +555,7 @@ mod test {
             let expected_path = match line {
                 "1" | "2" => filenames[0].clone(),
                 "3" | "4" => filenames[2].clone(),
-                _ => fail2!("unexpected line")
+                _ => fail!("unexpected line")
             };
             assert_eq!(state.current_path.clone(), expected_path);
             count += 1;