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

Tracking Issue #1296 ;
master
kristopher tate 2018-07-29 17:16:36 +09:00
parent 9fe140abad
commit bc032a89cc
1 changed files with 1 additions and 1 deletions

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