about summary refs log tree commit diff
path: root/library/test/src
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-02-05 15:52:49 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-02-06 13:05:56 +0100
commit55e237284ffa561b4a989682ea4093509c1c345e (patch)
treebac7b968aaeed637b64ffa233a839e49dc41ee03 /library/test/src
parent6ad11e2e25919b75ebbc36d7910f2a1126a7e873 (diff)
Upgrade wasm32 image to Ubuntu 20.04
This switches the wasm32 image, which is used to test
wasm32-unknown-emscripten to Ubuntu 20.04. While at it, enable
most of the excluded tests, as they seem to work fine with some
minor fixes.
Diffstat (limited to 'library/test/src')
-rw-r--r--library/test/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/test/src/tests.rs b/library/test/src/tests.rs
index 99e12c973c4..e4adf55fb7b 100644
--- a/library/test/src/tests.rs
+++ b/library/test/src/tests.rs
@@ -27,7 +27,6 @@ use crate::{
     },
     time::{TestTimeOptions, TimeThreshold},
 };
-use std::any::TypeId;
 use std::sync::mpsc::channel;
 use std::time::Duration;
 
@@ -198,6 +197,7 @@ fn test_should_panic_bad_message() {
 #[cfg(not(target_os = "emscripten"))]
 fn test_should_panic_non_string_message_type() {
     use crate::tests::TrFailedMsg;
+    use std::any::TypeId;
     fn f() {
         panic!(1i32);
     }