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
@ -27,7 +27,7 @@ isnt($first, $second, 'different container focused');
|
||||
|
||||
cmd qq|[con_id="$first"] focus|;
|
||||
cmd 'open';
|
||||
$content = get_ws_content($tmp);
|
||||
my $content = get_ws_content($tmp);
|
||||
ok(@{$content} == 3, 'three containers opened');
|
||||
|
||||
is($content->[0]->{id}, $first, 'first container unmodified');
|
||||
|
Reference in New Issue
Block a user