Commits

Toby Inkster committed d462398

test some different class type names

  • Participants
  • Parent commits 8b0739e

Comments (0)

Files changed (1)

t/05haveimissedanytypes.t

 	Object
 );
 
+my @class_types_to_check = qw(
+	Local::Test1
+	Local::Test::Two
+	LocalTest3
+);
+
 my $count = 0;
 sub constraint_for
 {
 	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')");