diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-11-03 10:58:45 +0100 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2018-11-03 10:58:45 +0100 |
| commit | 6e3320c7efc9cdaa1ddb3865181ec017d9f5de26 (patch) | |
| tree | f070b78a2bbb15ceca8e5957a493f725c264e461 /clippy_dev/src | |
| parent | 5fc25d30e25fa5c05c34812eab311c42b464bb17 (diff) | |
| download | rust-6e3320c7efc9cdaa1ddb3865181ec017d9f5de26.tar.gz rust-6e3320c7efc9cdaa1ddb3865181ec017d9f5de26.zip | |
Test clippy_dev on CI and fix test
Diffstat (limited to 'clippy_dev/src')
| -rw-r--r-- | clippy_dev/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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)); } |
