Skip to content

Commit

Permalink
WPT: fix filtering -ref.html files
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Nov 5, 2024
1 parent e0f1f95 commit 8a832e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/wpt/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fn collect_tests(wpt_dir: &Path) -> Vec<PathBuf> {
test_paths.extend(glob_results.filter_map(|glob_result| {
if let Ok(path_buf) = glob_result {
let is_tentative = path_buf.ends_with("tentative.html");
let is_ref = path_buf.ends_with("-ref.html")
let is_ref = path_buf.to_string_lossy().ends_with("-ref.html")
|| path_contains_directory(&path_buf, "reference");
let is_support_file = path_contains_directory(&path_buf, "support");

Expand Down

0 comments on commit 8a832e9

Please sign in to comment.