mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
util_throttle_spec: Fix minor typo in test title
This commit is contained in:
parent
653845311b
commit
ec21b99d0a
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,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()
|
it("does nothing when no time has passed, even if balance is not full", function()
|
||||||
now = 5;
|
now = 5;
|
||||||
local a = throttle.create(10, 10);
|
local a = throttle.create(10, 10);
|
||||||
for i=1,5 do
|
for i=1,5 do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue