Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
[test] typo in local_get.wast as-return-value (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
poemm authored and rossberg committed Jan 16, 2019
1 parent 3b92782 commit ac86595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/local_get.wast
Expand Up @@ -94,7 +94,7 @@
(i32.const 3)
)

(func (export "as-return-value") (param i32)
(func (export "as-return-value") (param i32) (result i32)
(return (local.get 0))
)

Expand Down Expand Up @@ -124,7 +124,7 @@
(assert_return (invoke "as-br_if-value-cond" (i32.const 10)) (i32.const 10))
(assert_return (invoke "as-br_table-value" (i32.const 1)) (i32.const 2))

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

(assert_return (invoke "as-if-then" (i32.const 1)) (i32.const 1))
(assert_return (invoke "as-if-else" (i32.const 0)) (i32.const 0))
Expand Down

0 comments on commit ac86595

Please sign in to comment.