Skip to content

Commit

Permalink
Move formerly TODO test, now PASSing
Browse files Browse the repository at this point in the history
... to more permanent location.
  • Loading branch information
jkeenan committed Dec 15, 2024
1 parent 68c51a5 commit 94cc21b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 9 additions & 1 deletion t/re/pat.t
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ skip_all_without_unicode_tables();
my $has_locales = locales_enabled('LC_CTYPE');
my $utf8_locale = find_utf8_ctype_locale();

plan tests => 1298; # Update this when adding/deleting tests.
plan tests => 1299; # Update this when adding/deleting tests.

run_tests() unless caller;

Expand Down Expand Up @@ -2627,6 +2627,14 @@ SKIP:

}

{
fresh_perl('use re "eval";
my @r;
for$0(qw(0 0)){push@r,qr/@r(?{})/};',
{ stderr => 'devnull' });
is($?, 0, "No assertion failure (GH 16627)");
}

{
# github #21661
fresh_perl_is(<<'PROG', <<'EXPECT', {}, "double-free on fatal warn with existing error");
Expand Down
8 changes: 0 additions & 8 deletions t/run/todo.t
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,4 @@ TODO: {
is($?, 0, "No assertion failure");
}

{
fresh_perl('use re "eval";
my @r;
for$0(qw(0 0)){push@r,qr/@r(?{})/};',
{ stderr => 'devnull' });
is($?, 0, "No assertion failure");
}

done_testing();

0 comments on commit 94cc21b

Please sign in to comment.