Skip to content

Commit 609675c

Browse files
committed
Forgot to reinstate trap
1 parent 184ae75 commit 609675c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/testrunner.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ pub fn main() anyerror!void {
635635
}
636636
}
637637

638-
if (mem.eql(u8, trap, "unexpected end of section or function") or mem.eql(u8, trap, "section size mismatch")) {
638+
if (mem.eql(u8, trap, "unexpected end of section or function") or mem.eql(u8, trap, "section size mismatch") or mem.eql(u8, trap, "END opcode expected")) {
639639
switch (err) {
640640
error.UnexpectedEndOfInput => continue,
641641
error.UnknownSectionId => continue, // if a section declares more elements than it has we might get this

0 commit comments

Comments
 (0)