X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/bbc7e867d92c185d6316bdd222202f357f8253a3..ec368da1e0abf4367784d6a44e280fdc482c571f:/spec/strftime_spec.lua?ds=sidebyside 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