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 7f1ece52..91b3d2d1 100644
--- a/spec/util_promise_spec.lua
+++ b/spec/util_promise_spec.lua
@@ -480,7 +480,7 @@ describe("util.promise", function ()
r1("this fails too");
assert.spy(cb).was_called(1);
assert.same({
- { status = "rejected", value = "this fails too" };
+ { status = "rejected", reason = "this fails too" };
{ status = "rejected", reason = "this fails" };
}, result);
end);