aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.lua b/tests/test.lua
index 07436f9..a152bbb 100644
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -54,7 +54,7 @@ new_att = assert (lfs.attributes (tmpdir))
54assert (new_att.access == attrib.access) 54assert (new_att.access == attrib.access)
55assert (new_att.modification == attrib.modification) 55assert (new_att.modification == attrib.modification)
56-- Remove new directory 56-- Remove new directory
57assert (os.remove (tmpdir), "could not remove new directory") 57assert (lfs.rmdir (tmpdir), "could not remove new directory")
58assert (lfs.mkdir (tmpdir.."/lfs_tmp_dir") == false, "could create a directory inside a non-existent one") 58assert (lfs.mkdir (tmpdir.."/lfs_tmp_dir") == false, "could create a directory inside a non-existent one")
59-- Trying to get attributes of a non-existent file 59-- Trying to get attributes of a non-existent file
60assert (lfs.attributes ("this couldn't be an actual file") == nil, "could get attributes of a non-existent file") 60assert (lfs.attributes ("this couldn't be an actual file") == nil, "could get attributes of a non-existent file")