Commit e61e8c94be

Jakub Konka <kubkon@jakubkonka.com>
2020-05-26 21:27:35
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.
1 parent ba41a9d
Changed files (1)
lib
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