DEATH TO ALL zionist ELLIPSES
[gitmo/Moose.git] / t / 040_type_constraints / 019_coerced_parameterized_types.t
index 724b1c0..0934235 100644 (file)
@@ -30,13 +30,13 @@ lives_ok {
     coerce 'ArrayRef'
         => from 'MyList'
             => via { [ $_->items ] }
-} '... created the coercion okay';
+} 'created the coercion okay';
 
 my $mylist = Moose::Util::TypeConstraints::find_or_parse_type_constraint('MyList[Int]');
 
-ok($mylist->check(MyList->new(10, 20, 30)), '... validated it correctly (pass)');
-ok(!$mylist->check(MyList->new(10, "two")), '... validated it correctly (fail)');
-ok(!$mylist->check([10]), '... validated it correctly (fail)');
+ok($mylist->check(MyList->new(10, 20, 30)), 'validated it correctly (pass)');
+ok(!$mylist->check(MyList->new(10, "two")), 'validated it correctly (fail)');
+ok(!$mylist->check([10]), 'validated it correctly (fail)');
 
 subtype 'EvenList' => as 'MyList' => where { $_->items % 2 == 0 };
 
@@ -47,12 +47,12 @@ lives_ok {
     coerce 'ArrayRef'
         => from 'EvenList'
             => via { [ $_->items ] }
-} '... created the coercion okay';
+} 'created the coercion okay';
 
 my $evenlist = Moose::Util::TypeConstraints::find_or_parse_type_constraint('EvenList[Int]');
 
-ok(!$evenlist->check(MyList->new(10, 20, 30)), '... validated it correctly (fail)');
-ok($evenlist->check(MyList->new(10, 20, 30, 40)), '... validated it correctly (pass)');
-ok(!$evenlist->check(MyList->new(10, "two")), '... validated it correctly (fail)');
-ok(!$evenlist->check([10, 20]), '... validated it correctly (fail)');
+ok(!$evenlist->check(MyList->new(10, 20, 30)), 'validated it correctly (fail)');
+ok($evenlist->check(MyList->new(10, 20, 30, 40)), 'validated it correctly (pass)');
+ok(!$evenlist->check(MyList->new(10, "two")), 'validated it correctly (fail)');
+ok(!$evenlist->check([10, 20]), 'validated it correctly (fail)');