[libmoosex-lazyrequire-perl] 03/07: fix test failures caused by pull request

Intrigeri intrigeri at moszumanska.debian.org
Wed Aug 27 21:25:26 UTC 2014


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

intrigeri pushed a commit to annotated tag v0.10
in repository libmoosex-lazyrequire-perl.

commit 2a225792489bdad17c3619924427423008027db8
Author: Karen Etheridge <ether at cpan.org>
Date:   Fri Mar 15 13:02:50 2013 -0700

    fix test failures caused by pull request
---
 t/basic.t               | 6 +++---
 t/rt76054_inheritance.t | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/t/basic.t b/t/basic.t
index eaa1d6f..cc10e7f 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -23,7 +23,7 @@ use Test::Fatal;
 
     like(
         exception { Foo->new->bar },
-        qr/Attribute bar must be provided/,
+        qr/Attribute 'bar' must be provided/,
         'lazy_required value was not provided',
     );
 }
@@ -52,7 +52,7 @@ use Test::Fatal;
 
     like(
         exception { $bar->baz },
-        qr/Attribute foo must be provided/,
+        qr/Attribute 'foo' must be provided/,
         'lazy_required dependency is not satisfied',
     );
 
@@ -103,7 +103,7 @@ SKIP:
 
     like(
         exception { $bar->baz },
-        qr/Attribute foo must be provided/,
+        qr/Attribute 'foo' must be provided/,
         'lazy_required dependency is not satisfied (in a role)',
     );
 
diff --git a/t/rt76054_inheritance.t b/t/rt76054_inheritance.t
index fe5c3f6..4efe5a1 100644
--- a/t/rt76054_inheritance.t
+++ b/t/rt76054_inheritance.t
@@ -35,7 +35,7 @@ local $TODO = 'RT#75054';
 my $r = AccountExt->new;
 like(
     exception { $r->password },
-    qr/Attribute password must be provided before calling reader/,
+    qr/Attribute 'password' must be provided before calling reader/,
     'works on inherited attributes'
 );
 

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



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