mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
Same error message for all SpiderMonkey tests.
This commit is contained in:
parent
cfa3a4377e
commit
8ae609a5f5
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user