Diff

spec/util_async_spec.lua @ 8669:2aa85b0cd2b8

util.async: Use wrapper for once runner (thanks luacheck)
author Kim Alvefur <zash@zash.se>
date Thu, 22 Mar 2018 23:15:04 +0100
parent 8650:2f133b6e8740
child 8681:0c077800cd70
line wrap: on
line diff
--- a/spec/util_async_spec.lua	Thu Mar 22 21:54:59 2018 +0000
+++ b/spec/util_async_spec.lua	Thu Mar 22 23:15:04 2018 +0100
@@ -601,6 +601,7 @@
 			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()