Skip to content

Commit 16cf7dc

Browse files
committed
Fix rustfmt check failure
1 parent 789ce5c commit 16cf7dc

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

build_system/src/test.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -846,13 +846,9 @@ fn contains_ui_error_patterns(file_path: &Path, _keep_lto_tests: bool) -> Result
846846
}
847847

848848
// Check for pass markers - these tests should be kept (return false)
849-
if [
850-
"//@ check-pass",
851-
"//@ build-pass",
852-
"//@ run-pass",
853-
]
854-
.iter()
855-
.any(|marker| line.contains(marker))
849+
if ["//@ check-pass", "//@ build-pass", "//@ run-pass"]
850+
.iter()
851+
.any(|marker| line.contains(marker))
856852
{
857853
return Ok(false);
858854
}

0 commit comments

Comments
 (0)