This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
APItest/t/utf8.t: Remove unnecessary hash initializations
authorKarl Williamson <khw@cpan.org>
Sun, 14 May 2017 04:51:43 +0000 (22:51 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 13 Jul 2017 03:14:24 +0000 (21:14 -0600)
ext/XS-APItest/t/utf8.t

index d932790..5562dca 100644 (file)
@@ -473,11 +473,6 @@ local $SIG{__WARN__} = sub { push @warnings, @_ };
 
 my %restriction_types;
 
-$restriction_types{""}{'valid_strings'} = "";
-$restriction_types{"c9strict"}{'valid_strings'} = "";
-$restriction_types{"strict"}{'valid_strings'} = "";
-$restriction_types{"fits_in_31_bits"}{'valid_strings'} = "";
-
 # This set of tests looks for basic sanity, and lastly tests various routines
 # for the given code point.  If the earlier tests for that code point fail,
 # the later ones probably will too.  Malformations are tested in later