diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-09 12:14:05 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-10 17:12:30 +0200 |
commit | e918dbe8c7e1a85f7a9b4c4c6a796826f0e9f10e (patch) | |
tree | 67f3ed5f4b5cb9470db588b761107d48b73442fa /conf.d/controller/lua.d/aft.lua | |
parent | d7c515863ecd8a8cc7e0103c9486b4014558793b (diff) |
Fix: non local variable
Change-Id: I0098beeed06482ca08dc1e1ae235206f6b02032f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/controller/lua.d/aft.lua')
-rw-r--r-- | conf.d/controller/lua.d/aft.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 = {} |