]> git.lizzy.rs Git - rust.git/blobdiff - tests/missing-test-files.rs
add tests for a false negative on `needless_return`
[rust.git] / tests / missing-test-files.rs
index d87bb4be3c3f976e26e94ddfad4135d6993cf45d..9cef7438d225cbc51cdedd1b471ece46bbb89e78 100644 (file)
@@ -9,14 +9,12 @@ fn test_missing_tests() {
     if !missing_files.is_empty() {
         assert!(
             false,
-            format!(
-                "Didn't see a test file for the following files:\n\n{}\n",
-                missing_files
-                    .iter()
-                    .map(|s| format!("\t{}", s))
-                    .collect::<Vec<_>>()
-                    .join("\n")
-            )
+            "Didn't see a test file for the following files:\n\n{}\n",
+            missing_files
+                .iter()
+                .map(|s| format!("\t{}", s))
+                .collect::<Vec<_>>()
+                .join("\n")
         );
     }
 }