From e61e8c94beba912400b71891d8bfcfa9c1c1d837 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Tue, 26 May 2020 21:27:35 +0200 Subject: [PATCH] Reenable zig parser tests disabled targeting Wasm I'm not sure why I disabled them when landing extended Wasm/WASI support, but they pass the parser tests just fine now, so I'm gonna go ahead and re-enable them. --- lib/std/zig/parser_test.zig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/std/zig/parser_test.zig b/lib/std/zig/parser_test.zig index a7a5511889..641ff37eea 100644 --- a/lib/std/zig/parser_test.zig +++ b/lib/std/zig/parser_test.zig @@ -956,9 +956,6 @@ test "zig fmt: same-line doc comment on variable declaration" { } test "zig fmt: if-else with comment before else" { - // TODO investigate why this fails in wasm. - if (builtin.cpu.arch == .wasm32) return error.SkipZigTest; - try testCanonical( \\comptime { \\ // cexp(finite|nan +- i inf|nan) = nan + i nan @@ -1573,8 +1570,6 @@ test "zig fmt: comment after if before another if" { } test "zig fmt: line comment between if block and else keyword" { - // TODO investigate why this fails in wasm. - if (builtin.cpu.arch == .wasm32) return error.SkipZigTest; try testCanonical( \\test "aoeu" { \\ // cexp(finite|nan +- i inf|nan) = nan + i nan