Improve argument type check tests.
This commit is contained in:
@@ -23,7 +23,7 @@ checkallerrors('package.seeall',{notatable},'bad argument')
|
||||
-- module (last because it pretty much breaks this chunk)
|
||||
print( pcall( function()
|
||||
banner('module')
|
||||
checkallpass('module',{somestrnum,{package.seeall},{nil,afunction}})
|
||||
checkallpass('module',{somenumber,{package.seeall},{nil,afunction}})
|
||||
checkallerrors('module',{{aboolean,atable,afunction}},'bad argument')
|
||||
checkallerrors('module',{{aboolean,atable,afunction},{package.seeall}},'bad argument')
|
||||
checkallerrors('module',{somestring,{astring,anumber,aboolean,atable}},'attempt to call a')
|
||||
|
||||
Reference in New Issue
Block a user