diff --git a/tests/wasm/macro_rules.rs b/tests/wasm/macro_rules.rs index 88ad23a576e..60fd236f0b9 100644 --- a/tests/wasm/macro_rules.rs +++ b/tests/wasm/macro_rules.rs @@ -6,9 +6,8 @@ use wasm_bindgen_test::*; macro_rules! my_export { ($i: ident, $s: ty) => { #[wasm_bindgen] - pub fn $i(s: $s) { - } - } + pub fn $i(s: $s) {} + }; } my_export!(should_compile, &[i32]); diff --git a/tests/wasm/main.rs b/tests/wasm/main.rs index 73b566ddabd..30ea94b422d 100644 --- a/tests/wasm/main.rs +++ b/tests/wasm/main.rs @@ -35,8 +35,8 @@ pub mod js_keywords; pub mod js_objects; pub mod jscast; pub mod link_to; -pub mod math; pub mod macro_rules; +pub mod math; pub mod no_shims; pub mod node; pub mod option;