[libdatetime-timezone-perl] 08/23: No need for fully qualified subs

gregor herrmann gregoa at debian.org
Wed Apr 15 19:03:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to annotated tag v1.77
in repository libdatetime-timezone-perl.

commit 7876b8d863234711876bf62a3597c9f8d063207c
Author: Dave Rolsky <autarch at urth.org>
Date:   Tue Nov 4 13:56:33 2014 -0600

    No need for fully qualified subs
---
 t/18olson-version-check.t | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/18olson-version-check.t b/t/18olson-version-check.t
index 84386f1..2787d74 100644
--- a/t/18olson-version-check.t
+++ b/t/18olson-version-check.t
@@ -11,7 +11,7 @@ use lib File::Spec->catdir( File::Spec->curdir, 't' );
 BEGIN { require 'check_datetime_version.pl' }
 
 {
-    Test::Output::stderr_like(
+    stderr_like(
         sub { DateTime::TimeZone->new( name => 'Fake/TZ' ) },
         qr/\Qfrom an older version (unknown)/,
         'loading timezone where olson version is not defined'
@@ -19,7 +19,7 @@ BEGIN { require 'check_datetime_version.pl' }
 }
 
 {
-    Test::Output::stderr_like(
+    stderr_like(
         sub { DateTime::TimeZone->new( name => 'Fake/TZ2' ) },
         qr/\Qfrom an older version (2000a)/,
         'loading timezone where olson version is older than current'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdatetime-timezone-perl.git



More information about the Pkg-perl-cvs-commits mailing list