fixing redeclaration warnings in testcases
This commit is contained in:
@ -190,7 +190,7 @@ exit_gracefully($pid);
|
||||
# 7: check floating_maximum_size with cmd_size
|
||||
################################################################################
|
||||
|
||||
my $config = <<EOT;
|
||||
$config = <<EOT;
|
||||
# i3 config file (v4)
|
||||
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
||||
|
||||
@ -201,12 +201,12 @@ EOT
|
||||
|
||||
$pid = launch_with_config($config);
|
||||
|
||||
my $window = open_floating_window(rect => [ 0, 0, 90, 80 ]);
|
||||
$window = open_floating_window(rect => [ 0, 0, 90, 80 ]);
|
||||
cmd 'border none';
|
||||
|
||||
cmd 'resize set 101 91';
|
||||
sync_with_i3;
|
||||
my $rect = $window->rect;
|
||||
$rect = $window->rect;
|
||||
is($rect->{width}, 100, 'width did not exceed maximum width');
|
||||
is($rect->{height}, 90, 'height did not exceed maximum height');
|
||||
|
||||
|
Reference in New Issue
Block a user