aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.lua b/tests/test.lua
index 1f4eb09..8da5d16 100644
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -64,7 +64,7 @@ assert (new_att.modification == attrib.modification)
64-- Remove new file and directory 64-- Remove new file and directory
65assert (os.remove (tmpfile), "could not remove new file") 65assert (os.remove (tmpfile), "could not remove new file")
66assert (lfs.rmdir (tmpdir), "could not remove new directory") 66assert (lfs.rmdir (tmpdir), "could not remove new directory")
67assert (lfs.mkdir (tmpdir..sep.."lfs_tmp_dir") == false, "could create a directory inside a non-existent one") 67assert (lfs.mkdir (tmpdir..sep.."lfs_tmp_dir") == nil, "could create a directory inside a non-existent one")
68 68
69-- Trying to get attributes of a non-existent file 69-- Trying to get attributes of a non-existent file
70assert (lfs.attributes ("this couldn't be an actual file") == nil, "could get attributes of a non-existent file") 70assert (lfs.attributes ("this couldn't be an actual file") == nil, "could get attributes of a non-existent file")