Skip to content

Commit 4eeede3

Browse files
committed
fix emscripten test detection
1 parent 3087a1f commit 4eeede3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/check.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ fn find_tests(dir: &Path,
550550
let filename = e.file_name().into_string().unwrap();
551551
if (target.contains("windows") && filename.ends_with(".exe")) ||
552552
(!target.contains("windows") && !filename.contains(".")) ||
553-
(target.contains("emscripten") && filename.contains(".js")){
553+
(target.contains("emscripten") && filename.ends_with(".js")) {
554554
dst.push(e.path());
555555
}
556556
}

0 commit comments

Comments
 (0)