Skip to content

Commit

Permalink
Merge pull request #146 from ErichDonGubler/erichdongubler/push-ouwll…
Browse files Browse the repository at this point in the history
…slxyvot

fix: actually format the fmt. str. in `Subtests::add_subtest` 😅
  • Loading branch information
ErichDonGubler authored Aug 5, 2024
2 parents 76b84db + 714b142 commit 1e424e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion moz-webgpu-cts/src/wpt/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,10 @@ impl<'a> metadata::Subtests<'a> for Subtests {
) {
let Self(subtests) = self;
if subtests.get(&name).is_some() {
emitter.emit(Rich::custom(span, "duplicate subtest {name:?}"));
emitter.emit(Rich::custom(
span,
format_args!("duplicate subtest {name:?}"),
));
}
subtests.insert(name, subtest);
}
Expand Down

0 comments on commit 1e424e7

Please sign in to comment.