diff options
author | Arne Döring <arne.doering@gmx.net> | 2018-12-03 19:12:59 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-12-11 21:23:21 +0100 |
commit | 2a4c09ff8887350ec3fa283fe8d562e71b68406b (patch) | |
tree | bc09dd0a9b3960b1d4c194aa13d159711bd9a423 /tests/async | |
parent | fb1f5c62b5e74b1a532ddfe9d6c373fc61eff878 (diff) | |
download | Nim-2a4c09ff8887350ec3fa283fe8d562e71b68406b.tar.gz |
megatest can be executed
Diffstat (limited to 'tests/async')
-rw-r--r-- | tests/async/tasyncfile.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/async/tasyncfile.nim b/tests/async/tasyncfile.nim index 3043b680a..d95850c31 100644 --- a/tests/async/tasyncfile.nim +++ b/tests/async/tasyncfile.nim @@ -53,8 +53,7 @@ proc main() {.async.} = # Issue #7347 block: - let appDir = getAppDir() - var file = openAsync(appDir & DirSep & "hello.txt") + var file = openAsync( parentDir(currentSourcePath) / "hello.txt") echo file.getFileSize() echo await file.readAll() echo file.getFilePos() |