Run expansion tests only if rustfmt is present

This commit is contained in:
David Tolnay committed 2020-05-05 21:50:14 -07:00
1 parent e2ff603587
commit 23db3a41e7
3 files changed
+21 -11

No files matched your search

+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() {