diff options
author | Toby Inkster <mail@tobyinkster.co.uk> | 2013-05-13 16:19:48 +0100 |
---|---|---|
committer | Toby Inkster <mail@tobyinkster.co.uk> | 2013-05-13 16:19:48 +0100 |
commit | 89c2b19fc37ee3414d96ce0e4446fa7052326470 (patch) | |
tree | 2f260d6f2bf11131b6db33180141e87cf8539c7f /t | |
parent | f881708e55c75c16966ae3ecec831613b9b5c1b9 (diff) |
test some different class type names
Diffstat (limited to 't')
-rw-r--r-- | t/05haveimissedanytypes.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/05haveimissedanytypes.t b/t/05haveimissedanytypes.t index f42430c..1166f6f 100644 --- a/t/05haveimissedanytypes.t +++ b/t/05haveimissedanytypes.t @@ -33,6 +33,12 @@ my @types_to_check = qw( Object ); +my @class_types_to_check = qw( + Local::Test1 + Local::Test::Two + LocalTest3 +); + my $count = 0; sub constraint_for { @@ -57,7 +63,7 @@ for my $type (@types_to_check) is("$got", "$type", "Type constraint returned for '$type' looks right."); } -for my $type ("Local::Test1") +for my $type (@class_types_to_check) { my $got = constraint_for($type); isa_ok($got, "Type::Tiny::Class", "constraint_for('$type')"); |