From 2231158adf727a1fc9aa043604ae1f20bdf398fb Mon Sep 17 00:00:00 2001 From: cmertz Date: Wed, 27 Jul 2016 13:43:28 +0200 Subject: [PATCH] change test value for client.border_width --- tests/test-maximize.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test-maximize.lua b/tests/test-maximize.lua index a49e74f2..d16c980e 100644 --- a/tests/test-maximize.lua +++ b/tests/test-maximize.lua @@ -45,7 +45,9 @@ local steps = { -- Test restoring client.border_width function() local c = client.get()[1] - local test_width = 2 + + -- pick an arbitrary border_width distinct from the default one + local test_width = c.border_width + 1 c.border_width = test_width