Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit ac86595

Browse files
poemmrossberg
authored andcommitted
[test] typo in local_get.wast as-return-value (#942)
1 parent 3b92782 commit ac86595

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/core/local_get.wast

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
(i32.const 3)
9595
)
9696

97-
(func (export "as-return-value") (param i32)
97+
(func (export "as-return-value") (param i32) (result i32)
9898
(return (local.get 0))
9999
)
100100

@@ -124,7 +124,7 @@
124124
(assert_return (invoke "as-br_if-value-cond" (i32.const 10)) (i32.const 10))
125125
(assert_return (invoke "as-br_table-value" (i32.const 1)) (i32.const 2))
126126

127-
(assert_return (invoke "as-return-value" (i32.const 0)))
127+
(assert_return (invoke "as-return-value" (i32.const 0)) (i32.const 0))
128128

129129
(assert_return (invoke "as-if-then" (i32.const 1)) (i32.const 1))
130130
(assert_return (invoke "as-if-else" (i32.const 0)) (i32.const 0))

0 commit comments

Comments
 (0)