Changeset

8246:ea2667fc6781

util_throttle_spec: Slight stylistic update for function test group titles
author Waqas Hussain <waqas20@gmail.com>
date Sun, 17 Sep 2017 13:33:38 -0400
parents 8245:9499db96c032
children 8253:3a6f5b0f56f0
files spec/util_throttle_spec.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/spec/util_throttle_spec.lua	Sun Sep 17 13:29:14 2017 -0400
+++ b/spec/util_throttle_spec.lua	Sun Sep 17 13:33:38 2017 -0400
@@ -13,7 +13,7 @@
 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 @@
 		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);