4 use Test::More tests => 1;
6 use Mouse::Util::TypeConstraints;
9 eval { Mouse::Util::TypeConstraints::create_type_constraint_union() };
11 like( $@, qr/\QYou must pass in at least 2 type names to make a union/,
12 'can throw a proper error without Mouse being loaded by the caller' );