Callum Farmer 2021-03-30 18:35:23 +00:00 committed by Git OBS Bridge
parent d164f587b3
commit 45a4d23ac6

View File

@ -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)