From 24fc1043eee105f2de320604677869c9ff908a65 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Mon, 20 Sep 2021 16:04:41 -0700 Subject: [PATCH] tests: Remove a flackyness in test-input-binding --- tests/test-input-binding.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-input-binding.lua b/tests/test-input-binding.lua index 25e2c007..99fdce49 100644 --- a/tests/test-input-binding.lua +++ b/tests/test-input-binding.lua @@ -256,7 +256,7 @@ local new1, new2 = nil, nil -- Check that you can add new default key/mousebindings at any time. table.insert(steps, function() - assert(#mouse.screen.clients == 0) + if #mouse.screen.clients > 0 then return end new1 = module.key { key = "a",