diff options
-rw-r--r-- | crates/tools/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs index 66fca5bef..6d4ac4726 100644 --- a/crates/tools/src/lib.rs +++ b/crates/tools/src/lib.rs | |||
@@ -45,7 +45,7 @@ pub fn collect_tests(s: &str) -> Vec<(usize, Test)> { | |||
45 | Some((idx, line)) if line.starts_with("test ") => { | 45 | Some((idx, line)) if line.starts_with("test ") => { |
46 | break (idx, line["test ".len()..].to_string()); | 46 | break (idx, line["test ".len()..].to_string()); |
47 | } | 47 | } |
48 | Some((idx, line)) if line.starts_with("test_fail ") => { | 48 | Some((idx, line)) if line.starts_with("test_err ") => { |
49 | ok = false; | 49 | ok = false; |
50 | break (idx, line["test_fail ".len()..].to_string()); | 50 | break (idx, line["test_fail ".len()..].to_string()); |
51 | } | 51 | } |