aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-12-25 17:33:56 +0000
committerFlorian Diebold <[email protected]>2019-12-26 15:23:40 +0000
commit1a4a3eb69bcd48d79da0e227c6e2998d7910e6a7 (patch)
treef0808350d246f4a06284ae805dc59f2230a48e33
parent21359c3ab5fc497d11b2c0f0435c7635336a726e (diff)
Check for `todo!` macros in no_todo
-rw-r--r--xtask/tests/tidy-tests/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/tests/tidy-tests/cli.rs b/xtask/tests/tidy-tests/cli.rs
index 573ffadbf..f9ca45292 100644
--- a/xtask/tests/tidy-tests/cli.rs
+++ b/xtask/tests/tidy-tests/cli.rs
@@ -43,7 +43,7 @@ fn no_todo() {
43 return; 43 return;
44 } 44 }
45 let text = std::fs::read_to_string(e.path()).unwrap(); 45 let text = std::fs::read_to_string(e.path()).unwrap();
46 if text.contains("TODO") || text.contains("TOOD") { 46 if text.contains("TODO") || text.contains("TOOD") || text.contains("todo!") {
47 panic!( 47 panic!(
48 "\nTODO markers should not be committed to the master branch,\n\ 48 "\nTODO markers should not be committed to the master branch,\n\
49 use FIXME instead\n\ 49 use FIXME instead\n\