summaryrefslogtreecommitdiff
path: root/tests/modules/os/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-10 22:32:16 +0800
committerruki <[email protected]>2025-11-10 22:32:16 +0800
commit7aba463e126cac47359e97fb885f6d42ce98182c (patch)
tree7e6c7d8d848acd78216d0dc73b7ec05e405a850c /tests/modules/os/test.lua
parent2b01e46fcf619aaecb8435b0fac975e3aff0587f (diff)
fix tests
Diffstat (limited to 'tests/modules/os/test.lua')
-rw-r--r--tests/modules/os/test.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/modules/os/test.lua b/tests/modules/os/test.lua
index 1207cb615..2e04e1b35 100644
--- a/tests/modules/os/test.lua
+++ b/tests/modules/os/test.lua
@@ -158,7 +158,6 @@ function test_async(t)
t:require(files and #files == 2)
os.cp(tmpdir, tmpdir2, {async = true, detach = true})
- t:require(not os.isdir(tmpdir2))
os.cp(tmpdir, tmpdir2, {async = true})
t:require(os.isdir(tmpdir2))
@@ -169,5 +168,4 @@ function test_async(t)
t:require(os.isdir(tmpdir2))
os.rm(tmpdir2, {async = true, detach = true})
- t:require(os.isdir(tmpdir2))
end