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;
8 $TODO = q{Mouse is not yet completed};
11 'Test::Output' => '0.01', # skip all if not installed
19 ::stderr_like{ has foo => (
25 qr/\QYou cannot coerce an attribute (foo) unless its type (Str) has a coercion/,
26 'Cannot coerce unless the type has a coercion';
28 ::stderr_like{ has bar => (
34 qr/\QYou cannot coerce an attribute (bar) unless its type (Str) has a coercion/,
35 'Cannot coerce unless the type has a coercion - different attribute';