From: daurnimator Date: Mon, 18 Aug 2014 15:55:12 +0000 (-0400) Subject: spec/strftime_spec: Use the same timestamp every test run. X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/bbc7e867d92c185d6316bdd222202f357f8253a3 spec/strftime_spec: Use the same timestamp every test run. --- diff --git a/spec/strftime_spec.lua b/spec/strftime_spec.lua index 6d019c9..629e04a 100644 --- a/spec/strftime_spec.lua +++ b/spec/strftime_spec.lua @@ -1,8 +1,7 @@ local luatz = require "luatz.init" - +local time = 1234567890 describe("strftime", function() local strftime = luatz.strftime.strftime - local time = luatz.time() for i, spec in ipairs { "a", "A", "b", "B", "c", "C", "d", "D", "e", "F", "g", "G", "H", "I", "j", "m", "M", "n", "p", "r",