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
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 3 additions and 3 deletions

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

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");