6 eval "use Test::Output;";
7 plan skip_all => "Test::Output is required for this test" if $@;
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';