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 committed 2019-11-24 17:27:30 -08:00
1 parent c371563bfc
commit 0b303c766c
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
#[cfg(not(target_os = "emscripten"))]
#[cfg_attr(target_os = "emscripten", ignore)]
#[rustversion::attr(not(nightly), ignore)]
#[test]
fn ui() {
+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");