From e918dbe8c7e1a85f7a9b4c4c6a796826f0e9f10e Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 9 Jul 2018 12:14:05 +0200 Subject: Fix: non local variable Change-Id: I0098beeed06482ca08dc1e1ae235206f6b02032f Signed-off-by: Romain Forlot --- conf.d/controller/lua.d/aft.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf.d/controller') diff --git a/conf.d/controller/lua.d/aft.lua b/conf.d/controller/lua.d/aft.lua index d2587fe..9ba8909 100644 --- a/conf.d/controller/lua.d/aft.lua +++ b/conf.d/controller/lua.d/aft.lua @@ -253,7 +253,7 @@ function _AFT.testVerbError(testName, api, verb, args, cb) end function _AFT.describe(testName, testFunction, setUp, tearDown) - sanitizedTestName = "test"..tostring(testName) + local sanitizedTestName = "test"..tostring(testName) if _AFT.beforeEach then local b = _AFT.beforeEach() end if _AFT.afterEach then local a = _AFT.afterEach() end local aTest = {} -- cgit 1.2.3-korg