mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
megatest can be executed
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user