7 'Test::Output' => '0.01', # skip all if not installed
15 ::stderr_like{ has foo => (
21 qr/\QYou cannot coerce an attribute (foo) unless its type (Str) has a coercion/,
22 'Cannot coerce unless the type has a coercion';
24 ::stderr_like{ has bar => (
30 qr/\QYou cannot coerce an attribute (bar) unless its type (Str) has a coercion/,
31 'Cannot coerce unless the type has a coercion - different attribute';