From c1627c5d66877e8a0c581172b915ebee52f0ab05 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 7 Oct 2022 18:04:30 +0100 Subject: util.promise: Fix field name in failing test (introduced in 2639e0e1c378) --- spec/util_promise_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3