diff options
Diffstat (limited to 'tests/expandtest.rs')
-rw-r--r-- | tests/expandtest.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/expandtest.rs b/tests/expandtest.rs index 3f0d5c1..4feec1a 100644 --- a/tests/expandtest.rs +++ b/tests/expandtest.rs @@ -13,9 +13,9 @@ const PATH: &str = "tests/expand/**/*.rs"; fn expandtest() { let is_ci = env::var_os("CI").is_some(); let cargo = &*env::var("CARGO").unwrap_or_else(|_| "cargo".into()); - if !has_command(&[cargo, "expand"]) || !has_command(&[cargo, "fmt"]) { + if !has_command(&[cargo, "expand"]) { if is_ci { - panic!("expandtest requires rustfmt and cargo-expand"); + panic!("expandtest requires cargo-expand"); } return; } |