Run expansion tests only if rustfmt is present

This commit is contained in:
David Tolnay
2020-05-05 21:49:21 -07:00
parent e2ff603587
commit 23db3a41e7
3 changed files with 21 additions and 11 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#[cfg_attr(target_os = "emscripten", ignore)]
#[cfg_attr(not(cargo_expand), ignore)]
#[cfg_attr(not(expandtest), ignore)]
#[rustversion::attr(not(nightly), ignore)]
#[test]
fn expandtest() {