From fbe45dbcd81e6fe118b10666d2449619bee95677 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 22 Jan 2020 13:42:23 -0800 Subject: [PATCH] Adjust two more tests from recent changes 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. --- test/core/simd/simd_lane.wast | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/core/simd/simd_lane.wast b/test/core/simd/simd_lane.wast index e174df395..6cbbeebba 100644 --- a/test/core/simd/simd_lane.wast +++ b/test/core/simd/simd_lane.wast @@ -917,10 +917,10 @@ "type mismatch" ) (assert_invalid - (module quote - "(func $i8x16.extract_lane_s-2nd-arg-empty (result i32)" - " (i8x16.extract_lane_s 0)" - ")" + (module + (func $i8x16.extract_lane_s-2nd-arg-empty (result i32) + (i8x16.extract_lane_s 0) + ) ) "type mismatch" ) @@ -941,10 +941,10 @@ "type mismatch" ) (assert_invalid - (module quote - "(func $i16x8.extract_lane_u-2nd-arg-empty (result i32)" - " (i16x8.extract_lane_u 0)" - ")" + (module + (func $i16x8.extract_lane_u-2nd-arg-empty (result i32) + (i16x8.extract_lane_u 0) + ) ) "type mismatch" ) @@ -1272,4 +1272,4 @@ ")" ) "type mismatch" -) \ No newline at end of file +)