summaryrefslogtreecommitdiff
path: root/tests/modules/scheduler/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/scheduler/test.lua')
-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