diff options
author | Aleksey Kladov <[email protected]> | 2019-09-22 21:43:23 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-09-22 21:43:23 +0100 |
commit | 9a0fef71cc2422502401d5e156df751dc242e3e8 (patch) | |
tree | 06d260afe6a7bc1ac81e8364e6d7688d53a9dabc /crates/ra_tools/tests | |
parent | 76290afa9a654c9d2325acd644133c71a941faa9 (diff) |
test for TOODs as well
Diffstat (limited to 'crates/ra_tools/tests')
-rw-r--r-- | crates/ra_tools/tests/cli.rs | 2 |
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\ |