This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
No plan for regexp optimization tests
authorHugo van der Sanden <hv@crypt.org>
Fri, 13 Nov 2020 16:13:52 +0000 (16:13 +0000)
committerKarl Williamson <khw@cpan.org>
Thu, 24 Dec 2020 04:10:57 +0000 (21:10 -0700)
With a varying number of tests per data line, the plan is too much work
to maintain.

t/re/opt.t

index 01ac6e3..e37f9f6 100644 (file)
@@ -45,8 +45,6 @@ no warnings qw{ experimental };
 use feature qw{ refaliasing declared_refs };
 our \$TODO = \$::TODO;
 
-plan tests => 104;
-
 use re ();
 
 while (<DATA>) {
@@ -203,6 +201,7 @@ while (<DATA>) {
 
     skip($test) if $skip;
 }
+done_testing();
 __END__
        0       -       -       
 abc    3       +abc    -       isall