aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/util_promise_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util_promise_spec.lua b/spec/util_promise_spec.lua
index 2fd89d03..597b56f8 100644
--- a/spec/util_promise_spec.lua
+++ b/spec/util_promise_spec.lua
@@ -673,7 +673,7 @@ describe("util.promise", function ()
local next_tick = spy.new(function (f)
f();
end)
- local cb = spy.new();
+ local cb = spy.new(function () end);
promise.set_nexttick(next_tick);
promise.new(function (y, _)
y("okay");