forked from pool/lua54
This commit is contained in:
parent
d164f587b3
commit
45a4d23ac6
@ -30,7 +30,7 @@ Index: lua/files.lua
|
||||
assert(not x and y == v[2]) -- correct status and 'what'
|
||||
-- correct code if known (but always different from 0)
|
||||
assert((v[3] == nil and z > 0) or v[3] == z)
|
||||
@@ -794,6 +794,7 @@ assert(os.date(string.rep("%d", 1000), t
|
||||
@@ -791,6 +791,7 @@ assert(os.date(string.rep("%d", 1000), t
|
||||
assert(os.date(string.rep("%", 200)) == string.rep("%", 100))
|
||||
|
||||
local function checkDateTable (t)
|
||||
@ -38,7 +38,7 @@ Index: lua/files.lua
|
||||
_G.D = os.date("*t", t)
|
||||
assert(os.time(D) == t)
|
||||
load(os.date([[assert(D.year==%Y and D.month==%m and D.day==%d and
|
||||
@@ -810,7 +810,9 @@ if not _port then
|
||||
@@ -806,7 +806,9 @@ if not _port then
|
||||
checkDateTable(1)
|
||||
checkDateTable(1000)
|
||||
checkDateTable(0x7fffffff)
|
||||
|
Loading…
Reference in New Issue
Block a user