diff --git a/ci/base-tests.sh b/ci/base-tests.sh index 9b73263c24a..dc0802a941d 100755 --- a/ci/base-tests.sh +++ b/ci/base-tests.sh @@ -22,6 +22,7 @@ cargo build --features debugging cargo test --features debugging cd clippy_lints && cargo test && cd .. cd rustc_tools_util && cargo test && cd .. +cd clippy_dev && cargo test && cd .. # check that the lint lists are up-to-date ./util/update_lints.py -c diff --git a/clippy_dev/src/lib.rs b/clippy_dev/src/lib.rs index 53b9d5e18ec..28cc4600a09 100644 --- a/clippy_dev/src/lib.rs +++ b/clippy_dev/src/lib.rs @@ -381,12 +381,12 @@ fn test_gen_modules_list() { let lints = vec![ Lint::new("should_assert_eq", "group1", "abc", None, "module_name"), Lint::new("should_assert_eq2", "group2", "abc", Some("abc"), "deprecated"), - Lint::new("incorrect_internal", "internal_style", "abc", None, "another_module"), + Lint::new("incorrect_stuff", "group3", "abc", None, "another_module"), Lint::new("incorrect_internal", "internal_style", "abc", None, "module_name"), ]; let expected = vec![ - "pub mod another_module;\n".to_string(), - "pub mod module_name;\n".to_string(), + "pub mod another_module;".to_string(), + "pub mod module_name;".to_string(), ]; assert_eq!(expected, gen_modules_list(lints)); }