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
@ -63,7 +63,7 @@ $tmp = fresh_workspace;
|
||||
|
||||
$first = open_window($x, { background_color => '#ff0000' }); # window 5
|
||||
$second = open_window($x, { background_color => '#00ff00' }); # window 6
|
||||
my $third = open_window($x, { background_color => '#0000ff' }); # window 7
|
||||
$third = open_window($x, { background_color => '#0000ff' }); # window 7
|
||||
|
||||
is($x->input_focus, $third->id, 'last container focused');
|
||||
|
||||
|
Reference in New Issue
Block a user