APItest/t/utf8_malformed.t: Remove redundant test
authorKarl Williamson <khw@cpan.org>
Tue, 4 Jul 2017 16:06:37 +0000 (10:06 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 13 Jul 2017 03:14:25 +0000 (21:14 -0600)
This test already is covered in utf8_warn_base.pl.  It tests an overlong
for 2**32.

ext/XS-APItest/t/utf8_malformed.t

index 16c5b7f..59036af 100644 (file)
@@ -175,14 +175,6 @@ my @malformations = (
 if (isASCII && ! $::is64bit) {    # 32-bit ASCII platform
     no warnings 'portable';
     push @malformations,
-        [ "overflow malformation",
-            "\xfe\x84\x80\x80\x80\x80\x80",  # Represents 2**32
-            7,
-            $::UTF8_ALLOW_OVERFLOW, $::UTF8_GOT_OVERFLOW,
-            $REPLACEMENT,
-            7, 2,
-            qr/overflows/
-        ],
         [ "overflow malformation",
             "\xff\x80\x80\x80\x80\x80\x81\x80\x80\x80\x80\x80\x80",
             $::max_bytes,