mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
disable lint_message_convention test inside the rustc test suite
This commit is contained in:
parent
8eb2bd13d0
commit
e107b65b5a
1 changed files with 5 additions and 0 deletions
|
@ -60,6 +60,11 @@ impl Message {
|
|||
|
||||
#[test]
|
||||
fn lint_message_convention() {
|
||||
// disable the test inside the rustc test suite
|
||||
if option_env!("RUSTC_TEST_SUITE").is_some() {
|
||||
return;
|
||||
}
|
||||
|
||||
// make sure that lint messages:
|
||||
// * are not capitalized
|
||||
// * don't have puncuation at the end of the last sentence
|
||||
|
|
Loading…
Reference in a new issue