Files
wren/test/io/file/real_path_nonexistent.wren
Bob Nystrom 1e4b9e5175 File.realPath().
Not tested yet, because we can't create symlinks from Wren and I don't
want to check symlinks into the repo, but it seems to do the right
thing.
2016-02-27 15:53:02 -08:00

4 lines
102 B
Plaintext

import "io" for File
File.realPath("nonexistent") // expect runtime error: no such file or directory