Skip to content

Commit b16d8f4

Browse files
Merge pull request #101 from ErichDonGubler/test-runner-url-roundtrip
test: cover round-trip of runner URL paths
2 parents 011cd12 + 631f6ea commit b16d8f4

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)