megatest can be executed

This commit is contained in:
Arne Döring
2018-12-03 19:12:59 +01:00
committed by Araq
parent fb1f5c62b5
commit 2a4c09ff88
22 changed files with 150 additions and 130 deletions

View File

@@ -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()