testcases: drop open_window()s $x parameter, use global one instead

This commit is contained in:
Maik Fischer
2011-11-22 00:47:32 +01:00
committed by Michael Stapelberg
parent e9acd36ce4
commit fce7570f96
36 changed files with 106 additions and 106 deletions

View File

@ -12,8 +12,8 @@ my $tmp = fresh_workspace;
cmd 'split v';
my $top = open_window($x);
my $bottom = open_window($x);
my $top = open_window;
my $bottom = open_window;
my @urgent = grep { $_->{urgent} } @{get_ws_content($tmp)};
is(@urgent, 0, 'no window got the urgent flag');