Change assert to assert.ok to fix test

This commit is contained in:
Michael Hoffmann 2018-07-05 17:34:45 +02:00
parent 260183a522
commit 9f3722bbd9

View File

@ -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()