Skip to content

Commit b9a78e5

Browse files
committed
t/run/todo.t: remove spurious 'my'
v5.43.4-89-ge3d32ae8d5 was producing "my" variable $x masks earlier declaration in same scope Two tests use $x; only the first needs 'my'.
1 parent f49cfe1 commit b9a78e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/run/todo.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ TODO: {
370370
'push on non-existent hash entry from ternary autovivifies array ref; GH 18669'
371371
);
372372

373-
my $x = { arr => undef };
373+
$x = { arr => undef };
374374
eval {
375375
push(@{ $x->{ decide } ? $x->{ not_here } : $x->{ arr } }, "mana");
376376
};

0 commit comments

Comments
 (0)