Skip to content

Commit 5eda900

Browse files
committed
Correct word deletion in original test
Per comment from author in #22275, the code should have read '{ eval $switches }' as in other test files. Making this correction eliminates the "Odd number of elements in anonymous hash" warning which was the concern in that pull request. Fixes GH #22275.
1 parent ee4e4f6 commit 5eda900

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
@@ -33,7 +33,7 @@ TODO: {
3333
"abcde5678" =~ / b .* (*plb:(*plb:(.{4}))? (.{5}) ) .$ /x;
3434
print $1 // "undef", ":", $2 // "undef", "\n";
3535
EOF
36-
"undef:de567\nundef:de567", { $switches }, "");
36+
"undef:de567\nundef:de567", { eval $switches }, "");
3737
}
3838

3939
done_testing();

0 commit comments

Comments
 (0)