chore(*) update linter, add makefile

This commit is contained in:
Thijs Schreijer
2023-09-06 16:52:54 +02:00
parent ebbdef7593
commit b8147d8e6b
8 changed files with 212 additions and 57 deletions

View File

@@ -120,8 +120,8 @@ describe("Testing the 'date' module", function()
local c = date("20131230 00:57:04") -- same as a
assert(a < b)
assert(a <= b)
assert(not (a > b))
assert(not (a >= b))
assert(not (a > b)) -- luacheck: ignore
assert(not (a >= b)) -- luacheck: ignore
assert(a == c)
assert(a <= c)
assert(a >= c)
@@ -140,13 +140,13 @@ describe("Testing the 'date' module", function()
assert(a > b and b < a)
assert(a >= b and b <= a)
assert(a ~= b and (not(a == b)))
assert(a ~= b and (not(a == b))) -- luacheck: ignore
a = b:copy()
assert(not (a > b and b < a))
assert(a >= b and b <= a)
assert(a == b and (not(a ~= b)))
assert(a == b and (not(a ~= b))) -- luacheck: ignore
assert((a .. 565369) == (b .. 565369))
assert((a .. "????") == (b .. "????"))