aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authortomas <tomas>2006-03-14 13:39:38 +0000
committertomas <tomas>2006-03-14 13:39:38 +0000
commit121ae680f1c897d8773041781a6a7bd0c85010fc (patch)
tree155816b0d245e22e8ba8515fdf19936b1267158d /tests
parent1a1716f876e2451e73c953aba1e30e97dab189dd (diff)
downloadluafilesystem-121ae680f1c897d8773041781a6a7bd0c85010fc.tar.gz
luafilesystem-121ae680f1c897d8773041781a6a7bd0c85010fc.tar.bz2
luafilesystem-121ae680f1c897d8773041781a6a7bd0c85010fc.zip
Standardizing execution errors to nil followed by an error message
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")