Skip to content

Commit 76fc11c

Browse files
committed
fix: update test msg
1 parent 928d051 commit 76fc11c

File tree

1 file changed

+2
-2
lines changed
  • test/cases/wasm/js-incompatible-type

1 file changed

+2
-2
lines changed

test/cases/wasm/js-incompatible-type/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
it("should disallow exporting a func signature with result i64", function() {
22
return import("./export-i64-result.wat").then(({a}) => {
3-
expect(a).toThrow(/invalid type/);
3+
expect(a).toThrow(/incompatible type signature/);
44
});
55
});
66

77
it("should disallow exporting a func signature with param i64", function() {
88
return import("./export-i64-param.wat").then(({a}) => {
9-
expect(a).toThrow(/invalid type/);
9+
expect(a).toThrow(/incompatible type signature/);
1010
});
1111
});
1212

0 commit comments

Comments
 (0)