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

@ -11,7 +11,7 @@ my $tmp = fresh_workspace;
ok(@{get_ws_content($tmp)} == 0, 'no containers yet');
# Open a new window
my $window = open_window($x);
my $window = open_window;
my $content = get_ws_content($tmp);
ok(@{$content} == 1, 'window mapped');
my $win = $content->[0];