silentbicycle/lunatest

Anscamobile's Corona does not run from command line...

Closed this issue · 1 comments

Trying to make your test framework work with Anscamobile's Corona, which does not run from the command line and therefor arg=nil. The latter made "cmd_line_switches()" barf.
Adding "arg = arg or {}" made it all work again:


    local function cmd_line_switches(arg)
        arg = arg or {}
            ...

Thanks for lunatest!
Regards, Frank.

Fixed. Good catch, thanks.