util.promise: Fix field name in failing test (introduced in 2639e0e1c378)

This commit is contained in:
Matthew Wild 2022-10-07 18:04:30 +01:00
parent e8080773d6
commit c1627c5d66

View file

@ -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);