From a8dcd3b2a297f065b67afe45e8632e3add4e1145 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 1 Dec 2019 19:58:51 -0500 Subject: [PATCH] tests: Add capi.client to the prompt unit tests. It will be needed later. --- spec/awful/prompt_spec.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/awful/prompt_spec.lua b/spec/awful/prompt_spec.lua index 5d27570bd..2c0f65225 100644 --- a/spec/awful/prompt_spec.lua +++ b/spec/awful/prompt_spec.lua @@ -57,6 +57,9 @@ insulate('main', function () run = function() end, stop = function() end, } + _G.client = { + connect_signal = function() end + } -- luacheck: globals string function string.wlen(self) return #self