Skip to content

Commit

Permalink
Fix console test
Browse files Browse the repository at this point in the history
  • Loading branch information
afdw committed Aug 13, 2018
1 parent f35296f commit 7840367
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions crates/web-sys/tests/wasm/console.rs
Original file line number Diff line number Diff line change
@@ -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 changes: 2 additions & 2 deletions crates/webidl-tests/namespace.webidl
Original file line number Diff line number Diff line change
@@ -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);
};

0 comments on commit 7840367

Please sign in to comment.