Skip to content

Commit 631f6ea

Browse files
test: cover round-trip of runner URL paths
1 parent 011cd12 commit 631f6ea

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

moz-webgpu-cts/src/shared.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,16 @@ fn report_meta_match() {
690690
TestPath::from_execution_report($test_run_path).unwrap(),
691691
TestPath::from_fx_metadata_test(Path::new($rel_meta_path), $test_section_header)
692692
.unwrap()
693-
)
693+
);
694+
assert_eq!(
695+
format!(
696+
"/{}",
697+
TestPath::from_execution_report($test_run_path)
698+
.unwrap()
699+
.runner_url_path()
700+
),
701+
$test_run_path,
702+
);
694703
};
695704
}
696705

0 commit comments

Comments
 (0)