diff options
Diffstat (limited to 'lua/tests/060-readdir.lua')
-rwxr-xr-x | lua/tests/060-readdir.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lua/tests/060-readdir.lua b/lua/tests/060-readdir.lua index dd060840..07e8e3ba 100755 --- a/lua/tests/060-readdir.lua +++ b/lua/tests/060-readdir.lua @@ -51,12 +51,8 @@ print_dirs (dirs) -- Slots 1, 2, 3 contain "." and ".." and "lost+found" respectively. -if (dirs[4]["name"] ~= "p") then - error "incorrect name in slot 4" -end -if (dirs[5]["name"] ~= "q") then - error "incorrect name in slot 5" -end +assert (dirs[4]["name"] == "p", "incorrect name in slot 4") +assert (dirs[5]["name"] == "q", "incorrect name in slot 5") g:shutdown () |