X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/bbc7e867d92c185d6316bdd222202f357f8253a3..53d0e21097917a9f3c725ccc55d536bf895dc559:/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