diff options
| author | ruki <[email protected]> | 2022-09-17 00:49:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-09-17 00:49:54 +0800 |
| commit | 0a1fcc353eb60d54903cc505b197a6c6063b3842 (patch) | |
| tree | 18f40c04131b46ca9feb1e0d4fc0da2656781df3 | |
| parent | 5328e53c1c082a551ec5a32f7a2fb5cf349237ba (diff) | |
test exists
| -rw-r--r-- | tests/modules/os/test.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/modules/os/test.lua b/tests/modules/os/test.lua index b435807f2..d1609687a 100644 --- a/tests/modules/os/test.lua +++ b/tests/modules/os/test.lua @@ -81,6 +81,9 @@ function test_cp_symlink(t) os.tryrm("dir") os.tryrm("dir2") os.tryrm("dir3") + t:require(not os.exists("test1")) + t:require(not os.exists("test2")) + t:require(not os.exists("dir")) end function test_setenv(t) |
