megatest can be executed

This commit is contained in:
Arne Döring 2018-12-03 19:12:59 +01:00 • committed by Araq
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()