summaryrefslogtreecommitdiff
path: root/t/op/tr.t
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgs@consttype.org>2013-02-19 09:59:09 +0100
committerRafael Garcia-Suarez <rgs@consttype.org>2013-02-19 09:59:33 +0100
commit55673181017b5e113ef58bbb59978319aebbadcb (patch)
treeb822ec843a27b80b336d6b6135a65f7174e53a6f /t/op/tr.t
parentcff517f58dd82d18e36fcb75e3263c76b73e0f13 (diff)
downloadperl-55673181017b5e113ef58bbb59978319aebbadcb.tar.gz
Silence encoding.pm deprecation warnings in the core test suite
Diffstat (limited to 't/op/tr.t')
-rw-r--r--t/op/tr.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/op/tr.t b/t/op/tr.t
index 057be477b0..53530f2f04 100644
--- a/t/op/tr.t
+++ b/t/op/tr.t
@@ -512,6 +512,7 @@ SKIP: {
eval q{ $a ~= tr/a/b/; };
ok 1;
SKIP: {
+ no warnings "deprecated";
skip "no encoding", 1 unless eval { require encoding; 1 };
eval q{ use encoding "utf8"; $a ~= tr/a/b/; };
ok 1;