@@ -47,7 +47,7 @@ test.suite("LuteTaskSuite", function(suite)
4747
4848 -- task.spawn with function, >0 args
4949 suite :case ("taskSpawnFunctionWithArgsCoroutineStatus" , function (assert )
50- local thread = task.spawn (function (a , b , c )
50+ local thread = task.spawn (function (_a , _b , _c )
5151 task.wait (2 )
5252 end , "hello" , "world" , "boom" )
5353
@@ -58,7 +58,7 @@ test.suite("LuteTaskSuite", function(suite)
5858
5959 -- task.spawn with thread, >0 args
6060 suite :case ("taskSpawnThreadWithArgsCoroutineStatus" , function (assert )
61- local co = coroutine.create (function (a , b , c )
61+ local co = coroutine.create (function (_a , _b , _c )
6262 task.wait (2 )
6363 end )
6464 local thread = task.spawn (co , "hello" , "world" , "boom" )
@@ -93,7 +93,7 @@ test.suite("LuteTaskSuite", function(suite)
9393
9494 -- task.defer with function, >0 args
9595 suite :case ("taskDeferFunctionWithArgsCoroutineStatus" , function (assert )
96- local thread = task.defer (function (a , b , c )
96+ local thread = task.defer (function (_a , _b , _c )
9797 task.wait (2 )
9898 end , "hello" , "world" , "boom" )
9999
@@ -104,7 +104,7 @@ test.suite("LuteTaskSuite", function(suite)
104104
105105 -- task.defer with thread, >0 args
106106 suite :case ("taskDeferThreadWithArgsCoroutineStatus" , function (assert )
107- local co = coroutine.create (function (a , b , c )
107+ local co = coroutine.create (function (_a , _b , _c )
108108 task.wait (2 )
109109 end )
110110 local thread = task.defer (co , "hello" , "world" , "boom" )
@@ -128,7 +128,7 @@ test.suite("LuteTaskSuite", function(suite)
128128
129129 -- task.resume with thread, >0 args
130130 suite :case ("taskResumeThreadWithArgsCoroutineStatus" , function (assert )
131- local co = coroutine.create (function (a , b , c )
131+ local co = coroutine.create (function (_a , _b , _c )
132132 task.wait (2 )
133133 end )
134134 local thread = task .resume (co , "hello" , "world" , "boom" )
0 commit comments