summaryrefslogtreecommitdiff
path: root/ext/PerlIO-encoding
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2019-02-25 11:00:35 +1100
committerTony Cook <tony@develop-help.com>2019-02-25 11:00:35 +1100
commit4f60c5ccb12b01fbbc12c26181ac52d84b72791b (patch)
treec672e3f9d0ab3ee011d6924ccbb083e030d48609 /ext/PerlIO-encoding
parent7d0a46b7159e5ac307bcf356572da3501eaee898 (diff)
downloadperl-4f60c5ccb12b01fbbc12c26181ac52d84b72791b.tar.gz
(perl #131683) enable warnings for the block that tests for warnings
Diffstat (limited to 'ext/PerlIO-encoding')
-rw-r--r--ext/PerlIO-encoding/t/fallback.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/PerlIO-encoding/t/fallback.t b/ext/PerlIO-encoding/t/fallback.t
index 3abdfd3f37..686b164236 100644
--- a/ext/PerlIO-encoding/t/fallback.t
+++ b/ext/PerlIO-encoding/t/fallback.t
@@ -23,6 +23,7 @@ use Test::More tests => 10;
my $file = "fallback$$.txt";
{
+ use warnings;
my $message = '';
local $SIG{__WARN__} = sub { $message = $_[0] };
$PerlIO::encoding::fallback = Encode::PERLQQ;