Commit c6aa637146

Jimmi Holst Christensen <rainbowhejsil@gmail.com>
2018-04-10 16:33:43
std.zig.parser: removed dublicate "zig fmt: coroutines" test
1 parent b9cccce
Changed files (1)
std
std/zig/parser.zig
@@ -5011,26 +5011,6 @@ test "zig fmt: coroutines" {
     );
 }
 
-test "zig fmt: coroutines" {
-    try testCanonical(
-        \\async fn simpleAsyncFn() void {
-        \\    x += 1;
-        \\    suspend;
-        \\    x += 1;
-        \\    suspend |p| {}
-        \\    const p = async simpleAsyncFn() catch unreachable;
-        \\    await p;
-        \\}
-        \\
-        \\test "coroutine suspend, resume, cancel" {
-        \\    const p = try async<std.debug.global_allocator> testAsyncSeq();
-        \\    resume p;
-        \\    cancel p;
-        \\}
-        \\
-    );
-}
-
 test "zig fmt: Block after if" {
     try testCanonical(
         \\test "Block after if" {