diff options
-rw-r--r-- | tests/test.lua | 2 |
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)) | |||
54 | assert (new_att.access == attrib.access) | 54 | assert (new_att.access == attrib.access) |
55 | assert (new_att.modification == attrib.modification) | 55 | assert (new_att.modification == attrib.modification) |
56 | -- Remove new directory | 56 | -- Remove new directory |
57 | assert (os.remove (tmpdir), "could not remove new directory") | 57 | assert (lfs.rmdir (tmpdir), "could not remove new directory") |
58 | assert (lfs.mkdir (tmpdir.."/lfs_tmp_dir") == false, "could create a directory inside a non-existent one") | 58 | assert (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 |
60 | assert (lfs.attributes ("this couldn't be an actual file") == nil, "could get attributes of a non-existent file") | 60 | assert (lfs.attributes ("this couldn't be an actual file") == nil, "could get attributes of a non-existent file") |