diff --git a/tests/all/js_globals/Number.rs b/tests/all/js_globals/Number.rs index 73aa8dad0..f7d44dba1 100644 --- a/tests/all/js_globals/Number.rs +++ b/tests/all/js_globals/Number.rs @@ -22,8 +22,8 @@ fn is_integer() { import * as wasm from "./out"; export function test() { - assert(wasm.is_integer(123)); - assert(!wasm.is_integer(123.45)); + assert.ok(wasm.is_integer(123)); + assert.ok(!wasm.is_integer(123.45)); } "#) .test()