Fix console test

This commit is contained in:
Anton Danilkin 2018-08-13 19:21:05 +03:00
parent f35296f8ac
commit 7840367476
2 changed files with 4 additions and 5 deletions

View File

@ -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");
}

View File

@ -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);
};