summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorToby Inkster <mail@tobyinkster.co.uk>2013-04-12 18:57:28 +0100
committerToby Inkster <mail@tobyinkster.co.uk>2013-04-12 18:57:28 +0100
commit3be926cc833ef6f67dafa97ac29c18bcd230dc8e (patch)
tree178f3171800f2173d44ad6400227b347338db061 /t
parent9fda12315dbd3fc2a80d7715221d83ab2b3b9fc4 (diff)
swap out MooX::Types::BaseLike for Type::Tiny
Diffstat (limited to 't')
-rw-r--r--t/01basic.t2
-rw-r--r--t/02inflation.t8
2 files changed, 0 insertions, 10 deletions
diff --git a/t/01basic.t b/t/01basic.t
index ba8881a..3f1c223 100644
--- a/t/01basic.t
+++ b/t/01basic.t
@@ -43,12 +43,10 @@ is($o2->foo, 'bar');
is($o2->bar, 'foo');
ok not eval {
- require MooX::Types::MooseLike::Base;
Local::Class->new(foo => []);
};
ok not eval {
- require MooX::Types::MooseLike::Base;
Local::Class->new(bar => []);
};
diff --git a/t/02inflation.t b/t/02inflation.t
index 02b4c04..ff78a8e 100644
--- a/t/02inflation.t
+++ b/t/02inflation.t
@@ -3,8 +3,6 @@
Check that our type constraints are correctly inflated to Moose type
constraints.
-This test is skipped if L<MooX::Types::MooseLike::Base> is unavailable.
-
=head1 AUTHOR
Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
@@ -23,11 +21,6 @@ use warnings;
use Test::More;
BEGIN {
- eval { require MooX::Types::MooseLike::Base }
- or plan skip_all => 'requires MooX::Types::MooseLike::Base'
-};
-
-BEGIN {
package Local::Class;
use Moo;
use MooX::late;
@@ -35,7 +28,6 @@ BEGIN {
};
ok not eval {
- require MooX::Types::MooseLike::Base;
my $obj = Local::Class->new(foo => [])
};