mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-24 18:43:33 +03:00
Fix console test
This commit is contained in:
parent
f35296f8ac
commit
7840367476
@ -1,9 +1,8 @@
|
||||
use wasm_bindgen_test::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
use web_sys::console;
|
||||
|
||||
#[wasm_bindgen_test]
|
||||
fn test_console() {
|
||||
console::time("test label");
|
||||
console::time_end("test label");
|
||||
console::time_using_label("test label");
|
||||
console::time_end_using_label("test label");
|
||||
}
|
||||
|
4
crates/webidl-tests/namespace.webidl
vendored
4
crates/webidl-tests/namespace.webidl
vendored
@ -1,4 +1,4 @@
|
||||
namespace math_test {
|
||||
long add_one(long val);
|
||||
double pow(double base, double exponent);
|
||||
long add_one(long val);
|
||||
double pow(double base, double exponent);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user