Skip to content

Commit edfaac6

Browse files
committed
Skip the test when testing locally
1 parent 040f37a commit edfaac6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/ide-diagnostics/src/handlers/missing_match_arms.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ mod tests {
2323
},
2424
DiagnosticsConfig,
2525
};
26+
use test_utils::skip_slow_tests;
2627

2728
#[track_caller]
2829
fn check_diagnostics_no_bails(ra_fixture: &str) {
@@ -1006,6 +1007,9 @@ fn f() {
10061007

10071008
#[test]
10081009
fn exponential_match() {
1010+
if skip_slow_tests() {
1011+
return;
1012+
}
10091013
// Constructs a match where match checking takes exponential time. Ensures we bail early.
10101014
use std::fmt::Write;
10111015
let struct_arity = 30;

0 commit comments

Comments
 (0)