[Moose-commits] r7701 - Moose/trunk/t/040_type_constraints
autarch at code2.0beta.co.uk
autarch at code2.0beta.co.uk
Sat Feb 14 23:54:15 GMT 2009
Author: autarch
Date: 2009-02-14 15:54:15 -0800 (Sat, 14 Feb 2009)
New Revision: 7701
Modified:
Moose/trunk/t/040_type_constraints/002_util_type_constraints_export.t
Log:
Remove useless use of use_ok #15125124359
Modified: Moose/trunk/t/040_type_constraints/002_util_type_constraints_export.t
===================================================================
--- Moose/trunk/t/040_type_constraints/002_util_type_constraints_export.t 2009-02-14 23:53:50 UTC (rev 7700)
+++ Moose/trunk/t/040_type_constraints/002_util_type_constraints_export.t 2009-02-14 23:54:15 UTC (rev 7701)
@@ -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($_) };
};
More information about the Moose-commits
mailing list