aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_tools
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-09-22 21:43:23 +0100
committerAleksey Kladov <[email protected]>2019-09-22 21:43:23 +0100
commit9a0fef71cc2422502401d5e156df751dc242e3e8 (patch)
tree06d260afe6a7bc1ac81e8364e6d7688d53a9dabc /crates/ra_tools
parent76290afa9a654c9d2325acd644133c71a941faa9 (diff)
test for TOODs as well
Diffstat (limited to 'crates/ra_tools')
-rw-r--r--crates/ra_tools/tests/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_tools/tests/cli.rs b/crates/ra_tools/tests/cli.rs
index c672e5788..91b19c8f8 100644
--- a/crates/ra_tools/tests/cli.rs
+++ b/crates/ra_tools/tests/cli.rs
@@ -34,7 +34,7 @@ fn no_todo() {
34 return; 34 return;
35 } 35 }
36 let text = std::fs::read_to_string(e.path()).unwrap(); 36 let text = std::fs::read_to_string(e.path()).unwrap();
37 if text.contains("TODO") { 37 if text.contains("TODO") || text.contains("TOOD") {
38 panic!( 38 panic!(
39 "\nTODO markers should not be commited to the master branch,\n\ 39 "\nTODO markers should not be commited to the master branch,\n\
40 use FIXME instead\n\ 40 use FIXME instead\n\