From 9a0fef71cc2422502401d5e156df751dc242e3e8 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 22 Sep 2019 23:43:23 +0300 Subject: test for TOODs as well --- crates/ra_tools/tests/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_tools') 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() { return; } let text = std::fs::read_to_string(e.path()).unwrap(); - if text.contains("TODO") { + if text.contains("TODO") || text.contains("TOOD") { panic!( "\nTODO markers should not be commited to the master branch,\n\ use FIXME instead\n\ -- cgit v1.2.3