From cd5d24ef08c067f6a609060d31bd35edb6a57949 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 6 Jul 2018 13:44:05 +0200 Subject: Change function testCustom to describe testCustom isn't explicit and could confuse people "describe" is more the usage with test framework Change-Id: I270048640226e4be1355ed8b4e201ad81198d004 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 5032929..9fb06d8 100644 --- a/conf.d/controller/lua.d/aft.lua +++ b/conf.d/controller/lua.d/aft.lua @@ -240,7 +240,7 @@ function _AFT.testVerbError(testName, api, verb, args, cb) end}) end -function _AFT.testCustom(testName, testFunction) +function _AFT.describe(testName, testFunction) table.insert(_AFT.tests_list, {testName, function() testFunction() end}) -- cgit 1.2.3-korg