Avoid unsupported floating point formats in string argument test.

This commit is contained in:
Ian Farmer
2008-10-10 23:15:53 +00:00
parent 9c19535631
commit 86022515f8

View File

@@ -45,7 +45,8 @@ checkallerrors('string.find',{somestring,notastring},'bad argument #2')
checkallerrors('string.find',{somestring,somestring,nonnumber},'bad argument #3') checkallerrors('string.find',{somestring,somestring,nonnumber},'bad argument #3')
-- string.format -- string.format
local numfmts = {'%c','%d','%E','%e','%f','%g','%G','%i','%o','%u','%X','%x'} --local numfmts = {'%c','%d','%E','%e','%f','%g','%G','%i','%o','%u','%X','%x'}
local numfmts = {'%c','%d','%i','%o','%u','%X','%x'}
local strfmts = {'%q','%s'} local strfmts = {'%q','%s'}
local badfmts = {'%w'} local badfmts = {'%w'}
banner('string.format') banner('string.format')