diff --git a/test/de/inetsoftware/jwebassembly/runtime/RuntimeErrors.java b/test/de/inetsoftware/jwebassembly/runtime/RuntimeErrors.java index c4e769b..720392e 100644 --- a/test/de/inetsoftware/jwebassembly/runtime/RuntimeErrors.java +++ b/test/de/inetsoftware/jwebassembly/runtime/RuntimeErrors.java @@ -61,7 +61,7 @@ public class RuntimeErrors { if( newlineIdx > 0 ) { error = error.substring( 0, newlineIdx ); } - String expected = script == ScriptEngine.SpiderMonkey ? "TypeError: cannot pass i64 to or from JS" : "TypeError: wasm function signature contains illegal type"; + String expected = script == ScriptEngine.SpiderMonkey || script == ScriptEngine.SpiderMonkeyWat ? "TypeError: cannot pass i64 to or from JS" : "TypeError: wasm function signature contains illegal type"; assertEquals( expected, error ); }