diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-10-07 18:04:30 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-10-07 18:04:30 +0100 |
commit | c1627c5d66877e8a0c581172b915ebee52f0ab05 (patch) | |
tree | 460ff3a2d05187569ee9a55d946993b5cf156bf5 /spec | |
parent | e8080773d63fab1c3390927648c1d3cac84402d5 (diff) | |
download | prosody-c1627c5d66877e8a0c581172b915ebee52f0ab05.tar.gz prosody-c1627c5d66877e8a0c581172b915ebee52f0ab05.zip |
util.promise: Fix field name in failing test (introduced in 2639e0e1c378)
Diffstat (limited to 'spec')
-rw-r--r-- | spec/util_promise_spec.lua | 2 |
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); |