]> git.lizzy.rs Git - rust.git/blobdiff - tests/fmt.rs
Rollup merge of #5425 - xiongmao86:issue5367, r=flip1995
[rust.git] / tests / fmt.rs
index e2675fa09683996dd37790064905621460b78f8d..3aff8741f6051d7e6b95e525bc1a37812b3e2173 100644 (file)
@@ -3,7 +3,7 @@
 
 #[test]
 fn fmt() {
-    if option_env!("RUSTC_TEST_SUITE").is_some() || option_env!("GHA_CI").is_some() {
+    if option_env!("RUSTC_TEST_SUITE").is_some() || option_env!("NO_FMT_TEST").is_some() {
         return;
     }