X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F040_type_constraints%2F002_util_type_constraints_export.t;h=1e6c0f729154c9f2f39e4f25503db6b0ac035e59;hb=refs%2Fheads%2Fabandoned%2Fdeath_to_all_ellipses;hp=7ef7ad19df34b512783515fbd9b2d521a7fc9023;hpb=6b584f6c4dc1c2108c1bc233caec49627b2cce04;p=gitmo%2FMoose.git diff --git a/t/040_type_constraints/002_util_type_constraints_export.t b/t/040_type_constraints/002_util_type_constraints_export.t index 7ef7ad1..1e6c0f7 100644 --- a/t/040_type_constraints/002_util_type_constraints_export.t +++ b/t/040_type_constraints/002_util_type_constraints_export.t @@ -14,15 +14,15 @@ use Test::Exception; eval { type MyRef => where { ref($_) }; }; - ::ok( !$@, '... successfully exported &type to Foo package' ); + ::ok( !$@, 'successfully exported &type to Foo package' ); eval { subtype MyArrayRef => as MyRef => where { ref($_) eq 'ARRAY' }; }; - ::ok( !$@, '... successfully exported &subtype to Foo package' ); + ::ok( !$@, 'successfully exported &subtype to Foo package' ); Moose::Util::TypeConstraints->export_type_constraints_as_functions(); - ::ok( MyRef( {} ), '... Ref worked correctly' ); - ::ok( MyArrayRef( [] ), '... ArrayRef worked correctly' ); + ::ok( MyRef( {} ), 'Ref worked correctly' ); + ::ok( MyArrayRef( [] ), 'ArrayRef worked correctly' ); }