diff options
author | Tomohiro <gpuppur@gmail.com> | 2023-08-18 23:47:47 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-18 16:47:47 +0200 |
commit | eb83d20d0d1ab1d0cbd9574a3dc1bcdae949e865 (patch) | |
tree | 000f603d9578f51a51861acf747d2639e0012db0 /tests/vm | |
parent | 7fababd583ee5e3c113c0d83a04c07f2ee0ef06d (diff) | |
download | Nim-eb83d20d0d1ab1d0cbd9574a3dc1bcdae949e865.tar.gz |
Add staticFileExists and staticDirExists (#22278)
Diffstat (limited to 'tests/vm')
-rw-r--r-- | tests/vm/tvmmisc.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/vm/tvmmisc.nim b/tests/vm/tvmmisc.nim index 1a8f68ee8..da8208f73 100644 --- a/tests/vm/tvmmisc.nim +++ b/tests/vm/tvmmisc.nim @@ -82,6 +82,8 @@ block: doAssert fileExists("MISSINGFILE") == false doAssert dirExists("MISSINGDIR") == false + doAssert fileExists(currentSourcePath()) + doAssert dirExists(currentSourcePath().parentDir) # bug #7210 block: |