Skip to content

Commit

Permalink
disable lint_message_convention test inside the rustc test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Feb 25, 2021
1 parent 77c457b commit d329344
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/lint_message_convention.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d329344

Please sign in to comment.