From f0f45aa84d5eee0002ee4eca2646ec92fae56746 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 29 Jun 2012 23:20:46 +0200 Subject: [PATCH] tests: t/166-assign.t: use wait_for_window MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit While it’s generally intended that wait_for_window is not called within this testcase, in the first test instruction it was a mistake. The window in fact gets mapped and therefore we should call wait_for_window. --- testcases/t/166-assign.t | 1 + 1 file changed, 1 insertion(+) diff --git a/testcases/t/166-assign.t b/testcases/t/166-assign.t index a4a70c8b..3a8a10d5 100644 --- a/testcases/t/166-assign.t +++ b/testcases/t/166-assign.t @@ -57,6 +57,7 @@ my $tmp = fresh_workspace; ok(@{get_ws_content($tmp)} == 0, 'no containers yet'); my $window = open_special; +wait_for_map($window); ok(@{get_ws_content($tmp)} == 1, 'special window got managed to current (random) workspace'); -- 2.39.5