Commit | Line | Data |
5a592ad7 |
1 | use strict; |
2 | # This is automatically generated by author/import-moose-test.pl. |
3 | # DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!! |
4 | use t::lib::MooseCompat; |
5 | use warnings; |
6 | |
7 | use Test::More; |
8 | $TODO = q{Mouse is not yet completed}; |
9 | |
10 | use Mouse::Util::TypeConstraints; |
11 | |
12 | |
13 | eval { Mouse::Util::TypeConstraints::create_type_constraint_union() }; |
14 | |
15 | like( $@, qr/\QYou must pass in at least 2 type names to make a union/, |
16 | 'can throw a proper error without Mouse being loaded by the caller' ); |
17 | |
18 | done_testing; |