From: Michael Stapelberg Date: Fri, 29 Jun 2012 21:20:46 +0000 (+0200) Subject: tests: t/166-assign.t: use wait_for_window X-Git-Tag: 4.3~195 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f0f45aa84d5eee0002ee4eca2646ec92fae56746;p=i3%2Fi3 tests: t/166-assign.t: use wait_for_window 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. --- 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');