From: daurnimator Date: Sat, 9 Dec 2017 06:44:18 +0000 (+1100) Subject: Whitespace removal X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/d08da842dbdcc2b452fdb6a70cb82f6cc85dc118?ds=sidebyside;hp=-c Whitespace removal --- d08da842dbdcc2b452fdb6a70cb82f6cc85dc118 diff --git a/luatz-scm-0.rockspec b/luatz-scm-0.rockspec index 6e6d6a5..2ceae4c 100644 --- a/luatz-scm-0.rockspec +++ b/luatz-scm-0.rockspec @@ -2,7 +2,7 @@ package = "luatz" version = "scm-0" description = { - summary = "library for time and date manipulation." ; + summary = "library for time and date manipulation."; detailed = [[ A lua library for time and date manipulation. @@ -13,28 +13,28 @@ description = { - strftime style formatting All operations are possible without C extensions, though if available they may be used to increase accuracy. - ]] ; - license = "MIT" ; + ]]; + license = "MIT"; } dependencies = { - "lua >= 5.1" ; + "lua >= 5.1"; } source = { - url = "git://github.com/daurnimator/luatz.git" ; + url = "git://github.com/daurnimator/luatz.git"; } build = { - type = "builtin" ; + type = "builtin"; modules = { - ["luatz.init"] = "luatz/init.lua" ; - ["luatz.gettime"] = "luatz/gettime.lua" ; - ["luatz.parse"] = "luatz/parse.lua" ; - ["luatz.timetable"] = "luatz/timetable.lua" ; - ["luatz.strftime"] = "luatz/strftime.lua" ; - ["luatz.tzcache"] = "luatz/tzcache.lua" ; - ["luatz.tzfile"] = "luatz/tzfile.lua" ; - ["luatz.tzinfo"] = "luatz/tzinfo.lua" ; - } ; + ["luatz.init"] = "luatz/init.lua"; + ["luatz.gettime"] = "luatz/gettime.lua"; + ["luatz.parse"] = "luatz/parse.lua"; + ["luatz.timetable"] = "luatz/timetable.lua"; + ["luatz.strftime"] = "luatz/strftime.lua"; + ["luatz.tzcache"] = "luatz/tzcache.lua"; + ["luatz.tzfile"] = "luatz/tzfile.lua"; + ["luatz.tzinfo"] = "luatz/tzinfo.lua"; + }; } diff --git a/spec/strftime_spec.lua b/spec/strftime_spec.lua index 7dd9a7b..39f92c7 100644 --- a/spec/strftime_spec.lua +++ b/spec/strftime_spec.lua @@ -16,7 +16,7 @@ describe("#strftime works the same as os.date", function() for i=1, 365*12 do local t = time + 60*60*24*i tt.day = tt.day + 1 - tt:normalise ( ) + tt:normalise() assert.are.same(os.date(osdf,t), strftime(f,tt)) end end)