From: Dave Rolsky Date: Sat, 14 Feb 2009 23:54:15 +0000 (+0000) Subject: Remove useless use of use_ok #15125124359 X-Git-Tag: 0.71~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3860f446273adedec407472f0c437d1659e9b32c;p=gitmo%2FMoose.git Remove useless use of use_ok #15125124359 --- 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 85faf6b..7ef7ad1 100644 --- a/t/040_type_constraints/002_util_type_constraints_export.t +++ b/t/040_type_constraints/002_util_type_constraints_export.t @@ -3,17 +3,14 @@ use strict; use warnings; -use Test::More tests => 5; +use Test::More tests => 4; use Test::Exception; -BEGIN { - use_ok( 'Moose::Util::TypeConstraints', { into => 'Foo' } ); -} - { - package Foo; + use Moose::Util::TypeConstraints; + eval { type MyRef => where { ref($_) }; };