From 6b1331ede8523491963e97f7c84b0a858f95eb3e Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Mon, 29 Jul 2024 15:26:26 -0400 Subject: [PATCH] refactor(update_expected): remove unnecessary dupe subtest check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is literally impossible when iterating over the keys of a `BTreeMap`. 💦 --- moz-webgpu-cts/src/main.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/moz-webgpu-cts/src/main.rs b/moz-webgpu-cts/src/main.rs index f0ca837..e34a25a 100644 --- a/moz-webgpu-cts/src/main.rs +++ b/moz-webgpu-cts/src/main.rs @@ -721,10 +721,6 @@ fn run(cli: Cli) -> ExitCode { let mut subtests = BTreeMap::new(); for (subtest_name, subtest) in subtest_entries { let subtest_name = SectionHeader(subtest_name); - if subtests.contains_key(&subtest_name) { - found_reconciliation_err = true; - log::error!("internal error: duplicate test path {test_entry_path:?}"); - } let Entry { meta_props: subtest_properties,