Diff

spec/util_throttle_spec.lua @ 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
parent 8245:9499db96c032
child 8473:f024cb5acc25
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);