summaryrefslogtreecommitdiff
path: root/cpan/Getopt-Long
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-06-29 20:32:33 +0100
committerNicholas Clark <nick@ccl4.org>2010-06-29 20:32:33 +0100
commitcac1beb07914178078e9fe59db3a6f74bad85860 (patch)
treec2bd8a1593cb11b6685d07781c2dffe961be27c9 /cpan/Getopt-Long
parentc9d5e35e7efda8acf195b970afb943d0d7481bb4 (diff)
downloadperl-cac1beb07914178078e9fe59db3a6f74bad85860.tar.gz
Suppress deprecation warnings from test output for perl4 era libs.
A tweak to the pattern used by 96471c6b3e9cad6e, to match the current warning.
Diffstat (limited to 'cpan/Getopt-Long')
-rw-r--r--cpan/Getopt-Long/t/gol-compat.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/Getopt-Long/t/gol-compat.t b/cpan/Getopt-Long/t/gol-compat.t
index fe4f746194..610474f10f 100644
--- a/cpan/Getopt-Long/t/gol-compat.t
+++ b/cpan/Getopt-Long/t/gol-compat.t
@@ -14,7 +14,7 @@ BEGIN {
# of testing. These tests will be removed along with newgetopt.pl in
# the next major release of perl.
local $SIG{__WARN__} = sub {
- if ($_[0] !~ /deprecated/) {
+ if ($_[0] !~ /will be removed from the Perl core distribution/) {
print(STDERR @_);
}
};