From 1ca1c9bb323f9c30f287fa358b7cdcf7bafcc092 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 22 Mar 2018 23:15:04 +0100 Subject: util.async: Use wrapper for once runner (thanks luacheck) --- spec/util_async_spec.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/util_async_spec.lua') diff --git a/spec/util_async_spec.lua b/spec/util_async_spec.lua index 7c1696b5..959ad65b 100644 --- a/spec/util_async_spec.lua +++ b/spec/util_async_spec.lua @@ -601,6 +601,7 @@ describe("util.async", function() end); async.once(f); assert.spy(f).was.called(); + assert.spy(f).was.called_with(); end); it("should propagate errors", function () local function should_error() -- cgit v1.2.3