From 84ff52390dc278aaed3ee148ddb971d1f5d77c7e Mon Sep 17 00:00:00 2001 From: DJMcNab <36049421+DJMcNab@users.noreply.github.com> Date: Thu, 20 Dec 2018 15:09:57 +0000 Subject: Rename test_fail to test_err --- crates/tools/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/tools') 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)> { Some((idx, line)) if line.starts_with("test ") => { break (idx, line["test ".len()..].to_string()); } - Some((idx, line)) if line.starts_with("test_fail ") => { + Some((idx, line)) if line.starts_with("test_err ") => { ok = false; break (idx, line["test_fail ".len()..].to_string()); } -- cgit v1.2.3