Skip to content

Commit b43d21d

Browse files
committed
test: disable failing err union switch tests on wasm
1 parent 368b94f commit b43d21d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/behavior/switch_on_captured_error.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const builtin = @import("builtin");
77

88
test "switch on error union catch capture" {
99
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
10+
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
1011

1112
const S = struct {
1213
const Error = error{ A, B, C };
@@ -261,6 +262,7 @@ test "switch on error union catch capture" {
261262

262263
test "switch on error union if else capture" {
263264
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
265+
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
264266

265267
const S = struct {
266268
const Error = error{ A, B, C };

0 commit comments

Comments
 (0)