Skip to content

Commit

Permalink
Correct word deletion in original test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jkeenan committed Jun 13, 2024
1 parent ee4e4f6 commit 5eda900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/run/todo.t
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ TODO: {
"abcde5678" =~ / b .* (*plb:(*plb:(.{4}))? (.{5}) ) .$ /x;
print $1 // "undef", ":", $2 // "undef", "\n";
EOF
"undef:de567\nundef:de567", { $switches }, "");
"undef:de567\nundef:de567", { eval $switches }, "");
}

done_testing();

0 comments on commit 5eda900

Please sign in to comment.