From 9f3722bbd9c10823d1fb2d2689ad6443ccde3bad Mon Sep 17 00:00:00 2001 From: Michael Hoffmann Date: Thu, 5 Jul 2018 17:34:45 +0200 Subject: [PATCH] Change assert to assert.ok to fix test --- tests/all/js_globals/Number.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()