Skip to content

Commit e98d98e

Browse files
test: use drop instead of unreachable
This function is expected to trap, so the unreachable could result in a false positive if the compiled test does not check the trap reason. See comment: #138 (comment)
1 parent a2c7991 commit e98d98e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/core/stack-switching/cont.wast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
(cont.new $k1
128128
(ref.null $f1)
129129
)
130-
(unreachable)
130+
(drop)
131131
)
132132
)
133133

0 commit comments

Comments
 (0)