]> git.lizzy.rs Git - rust.git/blobdiff - tests/fmt.rs
Includes TODO comment for hypot lint
[rust.git] / tests / fmt.rs
index 962425d955a79210fc98dc9db3418f151a0cc815..3aff8741f6051d7e6b95e525bc1a37812b3e2173 100644 (file)
@@ -3,7 +3,7 @@
 
 #[test]
 fn fmt() {
-    if option_env!("RUSTC_TEST_SUITE").is_some() {
+    if option_env!("RUSTC_TEST_SUITE").is_some() || option_env!("NO_FMT_TEST").is_some() {
         return;
     }
 
@@ -34,6 +34,6 @@ fn fmt() {
 
     assert!(
         output.status.success(),
-        "Formatting check failed. Run `./util/dev fmt` to update formatting."
+        "Formatting check failed. Run `cargo dev fmt` to update formatting."
     );
 }