about summary refs log tree commit diff
diff options
context:
space:
mode:
authorblyxyas <blyxyas@gmail.com>2023-06-10 22:43:51 +0200
committerblyxyas <blyxyas@gmail.com>2023-06-27 13:11:07 +0200
commit0cd8bbc8674a38dab07ce55b36339ac403f70daa (patch)
tree01c2d85b68a467a4137dfa82ddc188759965becb
parentd69c4f553c69fb0e64c281f85eb5822bcdfb4739 (diff)
downloadrust-0cd8bbc8674a38dab07ce55b36339ac403f70daa.tar.gz
rust-0cd8bbc8674a38dab07ce55b36339ac403f70daa.zip
Fix dogfood
-rw-r--r--tests/compile-test.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/compile-test.rs b/tests/compile-test.rs
index c45339ba0b5..50f8cf26fde 100644
--- a/tests/compile-test.rs
+++ b/tests/compile-test.rs
@@ -223,17 +223,17 @@ fn main() {
             "cargo" => f = run_ui_cargo as fn(),
             "toml" => f = run_ui_toml as fn(),
             "internal" => f = run_internal_tests as fn(),
-			"rustfix-coverage-known-exceptions-accuracy" => f =     rustfix_coverage_known_exceptions_accuracy as fn(),
-			"ui-cargo-toml-metadata" => f = ui_cargo_toml_metadata() as fn(),
+            "rustfix-coverage-known-exceptions-accuracy" => f = rustfix_coverage_known_exceptions_accuracy as fn(),
+            "ui-cargo-toml-metadata" => f = ui_cargo_toml_metadata as fn(),
 
             _ => panic!("unknown speedtest: {speedtest} || accepted speedtests are: [ui, cargo, toml, internal]"),
-        }
+        };
 
         let iterations;
         if let Ok(iterations_str) = std::env::var("SPEEDTEST_ITERATIONS") {
             iterations = iterations_str
                 .parse::<u64>()
-                .unwrap_or_else(|_| panic!("Couldn't parse `{}`, please use a valid u64", iterations_str));
+                .unwrap_or_else(|_| panic!("Couldn't parse `{iterations_str}`, please use a valid u64"));
         } else {
             iterations = 1000;
         }
@@ -250,8 +250,8 @@ fn main() {
         run_ui_toml();
         run_ui_cargo();
         run_internal_tests();
-		rustfix_coverage_known_exceptions_accuracy();
-		ui_cargo_toml_metadata();
+        rustfix_coverage_known_exceptions_accuracy();
+        ui_cargo_toml_metadata();
     }
 }