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($_) };
};