mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 15:37:52 +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 ) {
|
if( newlineIdx > 0 ) {
|
||||||
error = error.substring( 0, newlineIdx );
|
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 );
|
assertEquals( expected, error );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user