Skip to content

Commit 0cd8bbc

Browse files
committed
Fix dogfood
1 parent d69c4f5 commit 0cd8bbc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/compile-test.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,17 +223,17 @@ fn main() {
223223
"cargo" => f = run_ui_cargo as fn(),
224224
"toml" => f = run_ui_toml as fn(),
225225
"internal" => f = run_internal_tests as fn(),
226-
"rustfix-coverage-known-exceptions-accuracy" => f = rustfix_coverage_known_exceptions_accuracy as fn(),
227-
"ui-cargo-toml-metadata" => f = ui_cargo_toml_metadata() as fn(),
226+
"rustfix-coverage-known-exceptions-accuracy" => f = rustfix_coverage_known_exceptions_accuracy as fn(),
227+
"ui-cargo-toml-metadata" => f = ui_cargo_toml_metadata as fn(),
228228

229229
_ => panic!("unknown speedtest: {speedtest} || accepted speedtests are: [ui, cargo, toml, internal]"),
230-
}
230+
};
231231

232232
let iterations;
233233
if let Ok(iterations_str) = std::env::var("SPEEDTEST_ITERATIONS") {
234234
iterations = iterations_str
235235
.parse::<u64>()
236-
.unwrap_or_else(|_| panic!("Couldn't parse `{}`, please use a valid u64", iterations_str));
236+
.unwrap_or_else(|_| panic!("Couldn't parse `{iterations_str}`, please use a valid u64"));
237237
} else {
238238
iterations = 1000;
239239
}
@@ -250,8 +250,8 @@ fn main() {
250250
run_ui_toml();
251251
run_ui_cargo();
252252
run_internal_tests();
253-
rustfix_coverage_known_exceptions_accuracy();
254-
ui_cargo_toml_metadata();
253+
rustfix_coverage_known_exceptions_accuracy();
254+
ui_cargo_toml_metadata();
255255
}
256256
}
257257

0 commit comments

Comments
 (0)