diff options
| author | carregal <carregal> | 2007-10-27 14:15:49 +0000 |
|---|---|---|
| committer | carregal <carregal> | 2007-10-27 14:15:49 +0000 |
| commit | 6368cd544f32bcfc68b70230f9f3249721fbe37a (patch) | |
| tree | 45e73b6454ed53fb0092fb272741c307a41ae16c | |
| parent | 9cdf62e1bd3787e9afa047af3369ee70469340ea (diff) | |
| download | luafilesystem-6368cd544f32bcfc68b70230f9f3249721fbe37a.tar.gz luafilesystem-6368cd544f32bcfc68b70230f9f3249721fbe37a.tar.bz2 luafilesystem-6368cd544f32bcfc68b70230f9f3249721fbe37a.zip | |
Fixing a wrong test (tks to Enrico Tassi)
| -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 728bdda..d47a062 100644 --- a/tests/test.lua +++ b/tests/test.lua | |||
| @@ -73,7 +73,7 @@ if lfs.symlinkattributes then | |||
| 73 | -- Checking symbolic link information (does not work in Windows) | 73 | -- Checking symbolic link information (does not work in Windows) |
| 74 | assert (os.execute ("ln -s "..tmpfile.." _a_link_for_test_")) | 74 | assert (os.execute ("ln -s "..tmpfile.." _a_link_for_test_")) |
| 75 | assert (lfs.attributes"_a_link_for_test_".mode == "file") | 75 | assert (lfs.attributes"_a_link_for_test_".mode == "file") |
| 76 | assert (lfs.symlinkattributes"_a_link_for_test_" == "link") | 76 | assert (lfs.symlinkattributes"_a_link_for_test_".mode == "link") |
| 77 | assert (os.remove"_a_link_for_test_") | 77 | assert (os.remove"_a_link_for_test_") |
| 78 | end | 78 | end |
| 79 | 79 | ||
