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

This commit is contained in:
Jimmi Holst Christensen 2018-04-10 16:33:43 +02:00
parent b9cccce26d
commit c6aa637146

View File

@ -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" {