Subject: | Wide character in print warning in t/read_binary.t |
Test t/read_binary.t produces the warning 'Wide character in print at /trw/local/perl/5.20.1/lib/site_perl/5.20.1/Test/Builder.pm line 1826.' at least when run under Perl 5.20.1.
This appears to be because of the Unicode tests. I have attached a low severity because unless some other module dependent on this checks for unexpected warnings this is a purely cosmetic issue. The attached patch represents one way of addressing this.
Subject: | t-read_binary.patch |
--- t/read_binary.old 2014-09-12 06:16:22.000000000 -0400
+++ t/read_binary.t 2015-01-28 12:33:12.000000000 -0500
@@ -2,6 +2,11 @@
use warnings;
use utf8;
+BEGIN {
+ # Silence 'wide character' warning in Unicode test
+ binmode STDOUT, ':encoding(utf-8)';
+}
+
use Test::More tests => 41;
use File::Spec::Functions;