Software /
code /
prosody
Changeset
12752:9ef8f248635c
util.promise: Fix field name in failing test (introduced in 2639e0e1c378)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 07 Oct 2022 18:04:30 +0100 |
parents | 12751:2639e0e1c378 |
children | 12753:2eb02b32bb4c |
files | spec/util_promise_spec.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/spec/util_promise_spec.lua Fri Oct 07 17:56:38 2022 +0100 +++ b/spec/util_promise_spec.lua Fri Oct 07 18:04:30 2022 +0100 @@ -480,7 +480,7 @@ 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);