Skip tests for strict constructor on Moose
[gitmo/Mouse.git] / t / 001_mouse / 809-overwrite-builtin-subtype.t
1 use strict;
2 use warnings;
3 use Test::More tests => 1;
4
5 eval {
6     package Request;
7     use Mouse::Util::TypeConstraints;
8
9     type 'Int' => where { 1};
10 };
11 like $@, qr/The type constraint 'Int' has already been created in Mouse::Util::TypeConstraints and cannot be created again in Request/;