Improve argument type check tests.

This commit is contained in:
James Roseborough
2008-07-17 01:23:33 +00:00
parent 02cffe8a58
commit a18c16dabb
6 changed files with 112 additions and 165 deletions

View File

@@ -3,7 +3,7 @@ require 'args'
-- arg type tests for math library functions
local somenumber = {23,45.67,'-12','-345.678'}
local notanumber = {nil,astring,aboolean,afunction,atable}
local notanumber = {nil,astring,aboolean,afunction,atable,athread}
local nonnumber = {astring,aboolean,afunction,atable}
local singleargfunctions = {