diff --git a/tests/wasm/main.rs b/tests/wasm/main.rs index 453983037..268909b25 100644 --- a/tests/wasm/main.rs +++ b/tests/wasm/main.rs @@ -6,4 +6,4 @@ extern crate wasm_bindgen; pub mod api; pub mod option; -pub mod optional_numbers; +pub mod optional_primitives; diff --git a/tests/wasm/optional_numbers.js b/tests/wasm/optional_primitives.js similarity index 100% rename from tests/wasm/optional_numbers.js rename to tests/wasm/optional_primitives.js diff --git a/tests/wasm/optional_numbers.rs b/tests/wasm/optional_primitives.rs similarity index 98% rename from tests/wasm/optional_numbers.rs rename to tests/wasm/optional_primitives.rs index 28696b83e..2bc279e31 100644 --- a/tests/wasm/optional_numbers.rs +++ b/tests/wasm/optional_primitives.rs @@ -1,7 +1,7 @@ use wasm_bindgen_test::*; use wasm_bindgen::prelude::*; -#[wasm_bindgen(module = "tests/wasm/optional_numbers.js", version = "*")] +#[wasm_bindgen(module = "tests/wasm/optional_primitives.js", version = "*")] extern { fn i32_js_identity(a: Option) -> Option; fn u32_js_identity(a: Option) -> Option;