Skip to content

Commit d329344

Browse files
committed
disable lint_message_convention test inside the rustc test suite
1 parent 77c457b commit d329344

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/lint_message_convention.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ impl Message {
6060

6161
#[test]
6262
fn lint_message_convention() {
63+
// disable the test inside the rustc test suite
64+
if option_env!("RUSTC_TEST_SUITE").is_some() {
65+
return;
66+
}
67+
6368
// make sure that lint messages:
6469
// * are not capitalized
6570
// * don't have puncuation at the end of the last sentence

0 commit comments

Comments
 (0)