Skip to content

Commit 84aa593

Browse files
committed
Move fixed test from t/run/todo to re/pat.t
1 parent 1473648 commit 84aa593

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

t/re/pat.t

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ skip_all_without_unicode_tables();
2828
my $has_locales = locales_enabled('LC_CTYPE');
2929
my $utf8_locale = find_utf8_ctype_locale();
3030

31-
plan tests => 1295; # Update this when adding/deleting tests.
31+
plan tests => 1296; # Update this when adding/deleting tests.
3232

3333
run_tests() unless caller;
3434

@@ -2643,6 +2643,12 @@ local $SIG{__WARN__} = sub { die; };
26432643
eval "qr/()x{/;" for 1..10;
26442644
PROG
26452645
}
2646+
2647+
{ # GH 16894 Fixed by acababb42be12ff2986b73c1bfa963b70bb5d54e
2648+
"abab" =~ /(?:[^b]*(?=(b)|(a))ab)*/;
2649+
is($1, undef, "GH #16894");
2650+
}
2651+
26462652
} # End of sub run_tests
26472653

26482654
1;

t/run/todo.t

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,6 @@ my $switches = "";
9292

9393
my $is_debugging_build = $Config{cppflags} =~ /-DDEBUGGING/;
9494

95-
96-
{ # Fixed by acababb42be12ff2986b73c1bfa963b70bb5d54e
97-
"abab" =~ /(?:[^b]*(?=(b)|(a))ab)*/;
98-
is($1, undef, "GH #16894");
99-
}
100-
10195
our $TODO;
10296

10397
TODO: {

0 commit comments

Comments
 (0)