commit bc032a89cc13e483a55c58bcba4593229dd7f3ed (tree)
parent 9fe140abad11a15a8bb81b3599600ca1ec6f00d0
Author: kristopher tate <kt@connectfree.co.jp>
Date: Sun, 29 Jul 2018 17:16:36 +0900
std/zig/parser_test.zig: update test to reflect that the promise symbol is no in scope with suspend;
Tracking Issue #1296 ;
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/std/zig/parser_test.zig b/std/zig/parser_test.zig
@@ -1784,7 +1784,7 @@ test "zig fmt: coroutines" {
\\ x += 1;
\\ suspend;
\\ x += 1;
- \\ suspend |p| {}
+ \\ suspend;
\\ const p: promise->void = async simpleAsyncFn() catch unreachable;
\\ await p;
\\}