Tests pass in Lua 5.1/5.2 now too

This commit is contained in:
SoniEx2 2019-04-09 16:37:54 -03:00
parent b352a06fa3
commit 886df79e9f
1 changed files with 3 additions and 3 deletions

View File

@ -442,11 +442,11 @@ do -- numbers
assert(table.remove(state, 1) == luatokens.tokens.TK_FLT)
assert(table.remove(state, 1) == 34e1)
assert(table.remove(state, 1) == luatokens.tokens.TK_FLT)
assert(table.remove(state, 1) == 0x0.1E)
assert(table.remove(state, 1) == 0.1171875)
assert(table.remove(state, 1) == luatokens.tokens.TK_FLT)
assert(table.remove(state, 1) == 0xA23p-4)
assert(table.remove(state, 1) == 162.1875)
assert(table.remove(state, 1) == luatokens.tokens.TK_FLT)
assert(table.remove(state, 1) == 0x1.921FB54442D18P+1)
assert(table.remove(state, 1) == math.pi)
assert(table.remove(state, 1) == nil)
assert(state.line == 3)
end