[libdist-zilla-plugin-test-eol-perl] 01/02: modify test so it passes even in the presence of warnings from external modules
Intrigeri
intrigeri at moszumanska.debian.org
Sun Aug 16 09:20:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to annotated tag 0.16
in repository libdist-zilla-plugin-test-eol-perl.
commit a8c428ab87c9847ddb304a4a91adf3ce8ca4e346
Author: Karen Etheridge <ether at cpan.org>
Date: Sun Nov 16 18:53:24 2014 -0800
modify test so it passes even in the presence of warnings from external modules
e.g. perl 5.21.6 + aliased.pm:
http://www.cpantesters.org/cpan/report/0d3cdd02-6d88-11e4-8a4f-4a6310862755
---
Changes | 2 ++
t/02-eoltests.t | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Changes b/Changes
index 4a7c0db..e91fe78 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,8 @@
Revision history for {{$dist->name}}
{{$NEXT}}
+ - allow tests to pass even while upstream modules have warnings under
+ perl 5.21.6
0.15 2014-10-31 06:09:12Z
- use the 'deprecated' warning category to issue the warning in
diff --git a/t/02-eoltests.t b/t/02-eoltests.t
index b74e926..9d028ae 100644
--- a/t/02-eoltests.t
+++ b/t/02-eoltests.t
@@ -15,7 +15,7 @@ my $end_warnings = <<'END';
cmp_deeply(
\@warnings,
- [ re(qr/^\Q!!! [EOLTests] is deprecated and may be removed in a future release; replace it with [Test::EOL] (note the different default filename)\E/) ],
+ superbagof(re(qr/^\Q!!! [EOLTests] is deprecated and may be removed in a future release; replace it with [Test::EOL] (note the different default filename)\E/)),
'deprecation warning was seen',
);
END
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-eol-perl.git
More information about the Pkg-perl-cvs-commits
mailing list