| Index: test/mjsunit/wasm/errors.js
|
| diff --git a/test/mjsunit/wasm/errors.js b/test/mjsunit/wasm/errors.js
|
| index 725abe28dfd74f09b72bdfbbc7be2ce60b8ece84..7dbd6e5cb6b9f17af0c230359ee0cfd4cd6c147d 100644
|
| --- a/test/mjsunit/wasm/errors.js
|
| +++ b/test/mjsunit/wasm/errors.js
|
| @@ -81,16 +81,16 @@ function assertConversionError(bytes, imports = {}) {
|
| assertLinkError(b.toBuffer(), {foo: {bar: 9}});
|
|
|
| b = builder();
|
| - b.addImportedGlobal("foo", "bar", kAstI32);
|
| + b.addImportedGlobal("foo", "bar", kWasmI32);
|
| assertTypeError(b.toBuffer(), {});
|
| b = builder();
|
| - b.addImportedGlobal("foo", "bar", kAstI32);
|
| + b.addImportedGlobal("foo", "bar", kWasmI32);
|
| assertLinkError(b.toBuffer(), {foo: {}});
|
| b = builder();
|
| - b.addImportedGlobal("foo", "bar", kAstI32);
|
| + b.addImportedGlobal("foo", "bar", kWasmI32);
|
| assertLinkError(b.toBuffer(), {foo: {bar: ""}});
|
| b = builder();
|
| - b.addImportedGlobal("foo", "bar", kAstI32);
|
| + b.addImportedGlobal("foo", "bar", kWasmI32);
|
| assertLinkError(b.toBuffer(), {foo: {bar: () => 9}});
|
|
|
| b = builder();
|
|
|