Skip to content

Commit

Permalink
Fix merge issue in tests
Browse files Browse the repository at this point in the history
These tests don't have any exception handling contents, so
they should be identical to upstream spec tests.
  • Loading branch information
takikawa authored and Ms2ger committed Nov 11, 2021
1 parent 58b3ed9 commit 76419ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions test/core/br_table.wast
Original file line number Diff line number Diff line change
Expand Up @@ -1601,20 +1601,6 @@
)


(assert_invalid
(module (func $meet-bottom (param i32) (result externref)
(block $l1 (result externref)
(drop
(block $l2 (result i32)
(br_table $l2 $l1 $l2 (ref.null extern) (local.get 0))
)
)
(ref.null extern)
)
))
"type mismatch"
)

(assert_invalid
(module (func $unbound-label
(block (br_table 2 1 (i32.const 1)))
Expand Down
2 changes: 1 addition & 1 deletion test/core/select.wast
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
(assert_return (invoke "as-br_table-last" (i32.const 1)) (i32.const 2))

(assert_return (invoke "as-call_indirect-first" (i32.const 0)) (i32.const 3))
;;(assert_return (invoke "as-call_indirect-first" (i32.const 1)) (i32.const 2))
(assert_return (invoke "as-call_indirect-first" (i32.const 1)) (i32.const 2))
(assert_return (invoke "as-call_indirect-mid" (i32.const 0)) (i32.const 1))
(assert_return (invoke "as-call_indirect-mid" (i32.const 1)) (i32.const 1))
(assert_trap (invoke "as-call_indirect-last" (i32.const 0)) "undefined element")
Expand Down

0 comments on commit 76419ef

Please sign in to comment.