testcases: correctly enable lexical pragmata
eval 'package foo; use strict;' enables strict within eval, it does not leak into the surrounding scope. Also fix various warnings/compile errors found due to now enabled strict and warnings.
This commit is contained in:
committed by
Michael Stapelberg
parent
0a65b770e8
commit
1b1d7941ec
@ -31,7 +31,7 @@ is($nodes->[0]->{fullscreen_mode}, 0, 'client not fullscreen');
|
||||
cmd 'nop making fullscreen';
|
||||
cmd 'fullscreen';
|
||||
|
||||
my $nodes = get_ws_content $tmp;
|
||||
$nodes = get_ws_content $tmp;
|
||||
is($nodes->[0]->{fullscreen_mode}, 1, 'client fullscreen now');
|
||||
|
||||
#####################################################################
|
||||
@ -40,7 +40,7 @@ is($nodes->[0]->{fullscreen_mode}, 1, 'client fullscreen now');
|
||||
cmd 'level up';
|
||||
cmd 'fullscreen';
|
||||
|
||||
my $nodes = get_ws_content $tmp;
|
||||
$nodes = get_ws_content $tmp;
|
||||
is($nodes->[0]->{fullscreen_mode}, 0, 'client not fullscreen any longer');
|
||||
|
||||
does_i3_live;
|
||||
|
Reference in New Issue
Block a user