diff options
author | Waqas Hussain <waqas20@gmail.com> | 2017-09-17 13:33:38 -0400 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2017-09-17 13:33:38 -0400 |
commit | edeb5980c3da029e56068a5da524189b40514726 (patch) | |
tree | 7292c5a2d245cdf80479f58cc0b2e7278dba00cb /spec/util_throttle_spec.lua | |
parent | d88cbfbecd492fba389560a695d8210799970809 (diff) | |
download | prosody-edeb5980c3da029e56068a5da524189b40514726.tar.gz prosody-edeb5980c3da029e56068a5da524189b40514726.zip |
util_throttle_spec: Slight stylistic update for function test group titles
Diffstat (limited to 'spec/util_throttle_spec.lua')
-rw-r--r-- | spec/util_throttle_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/util_throttle_spec.lua b/spec/util_throttle_spec.lua index ed4d810b..c63fc70c 100644 --- a/spec/util_throttle_spec.lua +++ b/spec/util_throttle_spec.lua @@ -13,7 +13,7 @@ package.loaded["util.time"] = { local throttle = require "util.throttle"; describe("util.throttle", function() - describe("#create", function() + describe("#create()", function() it("should be created with correct values", function() now = 5; local a = throttle.create(3, 10); @@ -33,7 +33,7 @@ describe("util.throttle", function() end); end); - describe("#update", function() + describe("#update()", function() it("does nothing when no time hase passed, even if balance is not full", function() now = 5; local a = throttle.create(10, 10); |