summaryrefslogtreecommitdiff
path: root/cpan/Encode
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2018-04-19 14:10:35 +0100
committerDavid Mitchell <davem@iabyn.com>2018-04-19 14:37:45 +0100
commit836bb1e34a8e2f269b0c97fa72d2641e7c775787 (patch)
tree832db7c5f2a02ec10c281258c4584cbd3a1804b2 /cpan/Encode
parentdabde021f60e09a0d267e2c1d21905e88314056d (diff)
downloadperl-836bb1e34a8e2f269b0c97fa72d2641e7c775787.tar.gz
Encode: truncated_utf8.t TODO passes
This TODO test has been passing since the combination of: v5.27.8-40-g37657a5b6c which added utf8n_to_uvchr_msgs to the perl API v5.27.8-252-gc31ca2013f which upgraded blead to Encode 2.96, which makes use of this new function if available. So stop marking it as TODO in blead. This is patching a cpan/ distribution, but its only a test, and its a bit late in code freeze to install a newer Encode released, while we don't want a production perl with spurious passing TODO tests.
Diffstat (limited to 'cpan/Encode')
-rw-r--r--cpan/Encode/t/truncated_utf8.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/Encode/t/truncated_utf8.t b/cpan/Encode/t/truncated_utf8.t
index 7de8bb9ac1..b379267664 100644
--- a/cpan/Encode/t/truncated_utf8.t
+++ b/cpan/Encode/t/truncated_utf8.t
@@ -45,7 +45,7 @@ SKIP: {
is($str2, ("x" x 1023) . ("\x{fffd}" x 3) . "x");
TODO: {
- local $TODO = "bug in perlio";
+ local $TODO = "bug in perlio" if $] < 5.027009;
my $str = ("x" x 1023) . "\xfd\xfe\xff";
open my $fh, '<:encoding(UTF-8)', \$str;
my $str2 = <$fh>;