Mark tests ignored on emscripten rather than omitting

This way they still appear in `cargo test`'s output.
This commit is contained in:
David Tolnay
2019-11-24 17:27:28 -08:00
parent c371563bfc
commit 0b303c766c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#[cfg(not(target_os = "emscripten"))]
#[rustversion::attr(not(nightly), ignore)]
#[cfg_attr(target_os = "emscripten", ignore)]
#[cfg_attr(not(cargo_expand), ignore)]
#[rustversion::attr(not(nightly), ignore)]
#[test]
fn expandtest() {
macrotest::expand("tests/expand/*.rs");