authorgravatar for jhc@dismail.deJimmi Holst Christensen <jhc@dismail.de> 2018-04-10 16:33:43+02:00
committergravatar for jhc@dismail.deJimmi Holst Christensen <jhc@dismail.de> 2018-04-10 16:33:43+02:00
logc6aa637146c6695f382553f66d311599a90d7425
tree4e1d494f088ef26db7321d41e0cb2a8f87d80723
parentb9cccce26d616c2ff570a1e1ba7073d3e8f79672

std.zig.parser: removed dublicate "zig fmt: coroutines" test


1 files changed, 0 insertions(+), 20 deletions(-)

std/zig/parser.zig-20
......@@ -5011,26 +5011,6 @@ test "zig fmt: coroutines" {
50115011 );
50125012}
50135013
5014test "zig fmt: coroutines" {
5015 try testCanonical(
5016 \\async fn simpleAsyncFn() void {
5017 \\ x += 1;
5018 \\ suspend;
5019 \\ x += 1;
5020 \\ suspend |p| {}
5021 \\ const p = async simpleAsyncFn() catch unreachable;
5022 \\ await p;
5023 \\}
5024 \\
5025 \\test "coroutine suspend, resume, cancel" {
5026 \\ const p = try async<std.debug.global_allocator> testAsyncSeq();
5027 \\ resume p;
5028 \\ cancel p;
5029 \\}
5030 \\
5031 );
5032}
5033
50345014test "zig fmt: Block after if" {
50355015 try testCanonical(
50365016 \\test "Block after if" {