X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/bbc7e867d92c185d6316bdd222202f357f8253a3..523b2e0f1ece77c569f6db4c040886ed3124512e:/spec/strftime_spec.lua?ds=inline diff --git a/spec/strftime_spec.lua b/spec/strftime_spec.lua index 629e04a..f598db1 100644 --- a/spec/strftime_spec.lua +++ b/spec/strftime_spec.lua @@ -9,9 +9,9 @@ describe("strftime", function() "y", "Y", "z", "Z" , "%" } do local tt = luatz.gmtime(time) - it("Specifier "..spec.." is equivalent to os.date", function() - local f = "%"..spec - local osdf = "!%"..spec + local f = "%"..spec + local osdf = "!%"..spec + it("format specifier '"..f.."' is equivalent to os.date('"..osdf.."')", function() for i=1, 365*12 do local t = time + 60*60*24*i tt.day = tt.day + 1