From 3b1ce2bf2e7c8e2f106c7344cce3b2ebde3123ee Mon Sep 17 00:00:00 2001 From: doy Date: Wed, 4 Feb 2009 02:34:56 -0500 Subject: make the current tests request allowing missing methods where appropriate --- t/001-basic-matching.t | 2 +- t/004-submatching.t | 2 +- 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', -- cgit v1.2.3-54-g00ecf