diff options
author | DJMcNab <[email protected]> | 2018-12-20 15:09:57 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-20 15:09:57 +0000 |
commit | 84ff52390dc278aaed3ee148ddb971d1f5d77c7e (patch) | |
tree | 405a57d4e17117c3a15b8f1f74e0886ba77afa83 /crates/tools | |
parent | 63ca8bc91a2e34009a7e274a3105223040db6a37 (diff) |
Rename test_fail to test_err
Diffstat (limited to 'crates/tools')
-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 | } |