std/zig/parser_test.zig: update test to reflect that the promise symbol is no in scope with suspend;
Tracking Issue #1296 ;master
parent
9fe140abad
commit
bc032a89cc
|
@ -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;
|
||||
\\}
|
||||
|
|
Loading…
Reference in New Issue