From a59a10d6df02d7d9242f380b0211f1be6a06e196 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 12 Sep 2018 10:19:49 -0700 Subject: [PATCH] Fix tests on nightly --- crates/web-sys/tests/wasm/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/web-sys/tests/wasm/main.rs b/crates/web-sys/tests/wasm/main.rs index 055377555..efeebaf8f 100644 --- a/crates/web-sys/tests/wasm/main.rs +++ b/crates/web-sys/tests/wasm/main.rs @@ -7,7 +7,9 @@ extern crate wasm_bindgen_futures; extern crate wasm_bindgen_test; extern crate web_sys; -wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser); +use wasm_bindgen_test::wasm_bindgen_test_configure; + +wasm_bindgen_test_configure!(run_in_browser); pub mod anchor_element; pub mod body_element;