summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-02-04 02:34:56 -0500
committerdoy <doy@tozt.net>2009-02-04 02:34:56 -0500
commit3b1ce2bf2e7c8e2f106c7344cce3b2ebde3123ee (patch)
tree719e8666511cf5999b656c5f97975f12695aed34
parent35d7133e682132e137136fcdb76af19070201466 (diff)
downloadmoosex-role-matcher-3b1ce2bf2e7c8e2f106c7344cce3b2ebde3123ee.tar.gz
moosex-role-matcher-3b1ce2bf2e7c8e2f106c7344cce3b2ebde3123ee.zip
make the current tests request allowing missing methods where appropriate
-rw-r--r--t/001-basic-matching.t2
-rw-r--r--t/004-submatching.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/001-basic-matching.t b/t/001-basic-matching.t
index 07bbe66..ed89577 100644
--- a/t/001-basic-matching.t
+++ b/t/001-basic-matching.t
@@ -5,7 +5,7 @@ use Test::More tests => 9;
package Foo;
use Moose;
-with 'MooseX::Role::Matcher';
+with 'MooseX::Role::Matcher' => { allow_missing_methods => 1 };
has [qw/a b c/] => (
is => 'ro',
diff --git a/t/004-submatching.t b/t/004-submatching.t
index e9f2d22..2d15bd5 100644
--- a/t/004-submatching.t
+++ b/t/004-submatching.t
@@ -14,7 +14,7 @@ has [qw/a b c/] => (
package Baz;
use Moose;
-with 'MooseX::Role::Matcher';
+with 'MooseX::Role::Matcher' => { allow_missing_methods => 1 };
has [qw/a b c/] => (
is => 'rw',