Same error message for all SpiderMonkey tests.

This commit is contained in:
Volker Berlin 2019-04-19 16:06:29 +02:00
parent cfa3a4377e
commit 8ae609a5f5

View File

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