authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2020-05-26 21:27:35+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-05-26 21:01:54-04:00
loge61e8c94beba912400b71891d8bfcfa9c1c1d837
tree95f277ea78b00766618e4025bcf3cff661f47927
parentba41a9d5d7b761ad8e3ad0f1b863c7f6457598a6

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 files changed, 0 insertions(+), 5 deletions(-)

lib/std/zig/parser_test.zig-5
...@@ -956,9 +956,6 @@ test "zig fmt: same-line doc comment on variable declaration" {...@@ -956,9 +956,6 @@ test "zig fmt: same-line doc comment on variable declaration" {
956}956}
957957
958test "zig fmt: if-else with comment before else" {958test "zig fmt: if-else with comment before else" {
959 // TODO investigate why this fails in wasm.
960 if (builtin.cpu.arch == .wasm32) return error.SkipZigTest;
961
962 try testCanonical(959 try testCanonical(
963 \\comptime {960 \\comptime {
964 \\ // cexp(finite|nan +- i inf|nan) = nan + i nan961 \\ // cexp(finite|nan +- i inf|nan) = nan + i nan
...@@ -1573,8 +1570,6 @@ test "zig fmt: comment after if before another if" {...@@ -1573,8 +1570,6 @@ test "zig fmt: comment after if before another if" {
1573}1570}
15741571
1575test "zig fmt: line comment between if block and else keyword" {1572test "zig fmt: line comment between if block and else keyword" {
1576 // TODO investigate why this fails in wasm.
1577 if (builtin.cpu.arch == .wasm32) return error.SkipZigTest;
1578 try testCanonical(1573 try testCanonical(
1579 \\test "aoeu" {1574 \\test "aoeu" {
1580 \\ // cexp(finite|nan +- i inf|nan) = nan + i nan1575 \\ // cexp(finite|nan +- i inf|nan) = nan + i nan