summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-06 22:34:53 +0800
committerruki <[email protected]>2020-02-07 22:45:57 +0800
commit7bda7f45e60afb5515d325fd098e1d4aab4c939b (patch)
treef767bbbb647694159635dd763635ce4acd8fdcd0
parentdfef2f8ca41884138c5105cc7cbf55a67510f54d (diff)
fix scheduler test
-rw-r--r--tests/modules/scheduler/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/scheduler/test.lua b/tests/modules/scheduler/test.lua
index 853957567..0180d7f2e 100644
--- a/tests/modules/scheduler/test.lua
+++ b/tests/modules/scheduler/test.lua
@@ -56,6 +56,6 @@ function test_runjobs(t)
runjobs("test", function (index)
t:require(index >= 1 and index <= total)
count = count + 1
- end, total, comax)
+ end, {total = total, comax = comax})
t:are_equal(count, total)
end