[libmoosex-lazyrequire-perl] 05/11: test full exception text

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


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

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

commit 1a79e8ec92e033cb8c30e253af503a5e821e3dda
Author: Karen Etheridge <ether at cpan.org>
Date:   Sat Dec 1 13:09:35 2012 -0800

    test full exception text
---
 t/basic.t | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/t/basic.t b/t/basic.t
index 84e3c5a..675995a 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -42,7 +42,7 @@ use Test::Fatal;
 
 like(
     exception { Foo->new },
-    qr/must be provided/,
+    qr/Attribute bar must be provided/,
 );
 
 {
@@ -69,7 +69,7 @@ like(
 
     like(
         exception { $bar->baz },
-        qr/must be provided/,
+        qr/Attribute foo must be provided/,
         'lazy_required dependency is not satisfied',
     );
 
@@ -120,7 +120,7 @@ SKIP:
 
     like(
         exception { $bar->baz },
-        qr/must be provided/,
+        qr/Attribute foo must be provided/,
         'lazy_required dependency is not satisfied (in a role)',
     );
 

-- 
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