From fdbd6bb11a0c47bf9ba1428e6bd432cd2ce72045 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Mon, 30 Sep 2019 11:58:53 +0300 Subject: Added test for check doc strings in crates. #1856 --- crates/ra_tools/tests/cli.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crates/ra_tools/tests/cli.rs') diff --git a/crates/ra_tools/tests/cli.rs b/crates/ra_tools/tests/cli.rs index 91b19c8f8..609fd4d8b 100644 --- a/crates/ra_tools/tests/cli.rs +++ b/crates/ra_tools/tests/cli.rs @@ -1,6 +1,5 @@ -use walkdir::WalkDir; - use ra_tools::{gen_tests, generate_boilerplate, project_root, run_rustfmt, Verify}; +use walkdir::WalkDir; #[test] fn generated_grammar_is_fresh() { @@ -36,7 +35,7 @@ fn no_todo() { let text = std::fs::read_to_string(e.path()).unwrap(); if text.contains("TODO") || text.contains("TOOD") { panic!( - "\nTODO markers should not be commited to the master branch,\n\ + "\nTODO markers should not be committed to the master branch,\n\ use FIXME instead\n\ {}\n", e.path().display(), -- cgit v1.2.3