Skip to content

Commit a958218

Browse files
committed
fix(tasks/coverage): skip some babel tests on Windows as well
1 parent 85fb8e8 commit a958218

File tree

1 file changed

+1
-1
lines changed
  • tasks/coverage/src/babel

1 file changed

+1
-1
lines changed

tasks/coverage/src/babel/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ impl<T: Case> Suite<T> for BabelSuite<T> {
4545
"annex-b/disabled",
4646
]
4747
.iter()
48-
.any(|p| path.to_string_lossy().contains(p));
48+
.any(|p| path.to_string_lossy().replace('\\', "/").contains(p));
4949
let incorrect_extension = path.extension().is_none_or(|ext| ext == "json" || ext == "md");
5050
not_supported_directory || incorrect_extension
5151
}

0 commit comments

Comments
 (0)