Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 093ecb8

Browse files
authored
Adjust two more tests from recent changes (#184)
The `assert_invalid` directive isn't intended to be used with `(module quote ...)` and the `module quote` part can be removed here as well since the module should successfully parse, but fail to validate.
1 parent 0473234 commit 093ecb8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/core/simd/simd_lane.wast

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -917,10 +917,10 @@
917917
"type mismatch"
918918
)
919919
(assert_invalid
920-
(module quote
921-
"(func $i8x16.extract_lane_s-2nd-arg-empty (result i32)"
922-
" (i8x16.extract_lane_s 0)"
923-
")"
920+
(module
921+
(func $i8x16.extract_lane_s-2nd-arg-empty (result i32)
922+
(i8x16.extract_lane_s 0)
923+
)
924924
)
925925
"type mismatch"
926926
)
@@ -941,10 +941,10 @@
941941
"type mismatch"
942942
)
943943
(assert_invalid
944-
(module quote
945-
"(func $i16x8.extract_lane_u-2nd-arg-empty (result i32)"
946-
" (i16x8.extract_lane_u 0)"
947-
")"
944+
(module
945+
(func $i16x8.extract_lane_u-2nd-arg-empty (result i32)
946+
(i16x8.extract_lane_u 0)
947+
)
948948
)
949949
"type mismatch"
950950
)
@@ -1272,4 +1272,4 @@
12721272
")"
12731273
)
12741274
"type mismatch"
1275-
)
1275+
)

0 commit comments

Comments
 (0)