diff options
author | shmuz <shmuz> | 2007-12-27 11:33:22 +0000 |
---|---|---|
committer | shmuz <shmuz> | 2007-12-27 11:33:22 +0000 |
commit | 70bb5200cdbfdf9ab4a20e415cedf683cc67ccb4 (patch) | |
tree | 92cfbac9b0f1fdde20390615246bb04d1b9d2dc0 /test | |
parent | 136c9889bf4533219c11336c55e90e6e84732755 (diff) | |
download | lrexlib-70bb5200cdbfdf9ab4a20e415cedf683cc67ccb4.tar.gz |
small fix
Diffstat (limited to 'test')
-rwxr-xr-x | test/runtest.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/runtest.lua b/test/runtest.lua index a23c47f..e581a17 100755 --- a/test/runtest.lua +++ b/test/runtest.lua @@ -58,8 +58,8 @@ do if arg:sub(1,1) == "-" then if arg == "-v" then verbose = true - else - dir = arg:match("^%-d(.+)") + elseif arg:sub(1,2) == "-d" then + dir = arg:sub(3) end else if avail_tests[arg] then |