summary refs log tree commit diff stats
path: root/tests/async
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-12-03 19:12:59 +0100
committerAraq <rumpf_a@web.de>2018-12-11 21:23:21 +0100
commit2a4c09ff8887350ec3fa283fe8d562e71b68406b (patch)
treebc09dd0a9b3960b1d4c194aa13d159711bd9a423 /tests/async
parentfb1f5c62b5e74b1a532ddfe9d6c373fc61eff878 (diff)
downloadNim-2a4c09ff8887350ec3fa283fe8d562e71b68406b.tar.gz
megatest can be executed
Diffstat (limited to 'tests/async')
-rw-r--r--tests/async/tasyncfile.nim3
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()