std/zig/parser_test.zig: update test to reflect that the promise symbol is no in scope with suspend;

Tracking Issue #1296 ;
This commit is contained in:
kristopher tate 2018-07-29 17:16:36 +09:00
parent 9fe140abad
commit bc032a89cc

View File

@ -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;
\\}