From 1446dc87c301268869223e32e7efdc9c76711bad Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Mon, 4 Apr 2016 22:50:31 +0100 Subject: `await x` where x is Fut var now reads after yield. Fixes #3964. --- tests/async/tasyncfile.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/async/tasyncfile.nim') diff --git a/tests/async/tasyncfile.nim b/tests/async/tasyncfile.nim index 05cda5e5f..26a9bb391 100644 --- a/tests/async/tasyncfile.nim +++ b/tests/async/tasyncfile.nim @@ -24,7 +24,7 @@ proc main() {.async.} = var file = openAsync(fn, fmAppend) await file.write("\ntest2") let errorTest = file.readAll() - await errorTest + echo await errorTest doAssert errorTest.failed file.close() file = openAsync(fn, fmRead) -- cgit 1.4.1-2-gfad0