X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F17_syntax_errors.t;h=bd601c34eb06f434472e7c05e2285c0b74d5e85e;hb=refs%2Fheads%2Frt77100;hp=fa6b853429724fb4a764dab4f30a21cd5e7a0f83;hpb=a344ca961b0a3507cfb5a4fc142c3d89c0bea1c7;p=gitmo%2FMooseX-Types.git diff --git a/t/17_syntax_errors.t b/t/17_syntax_errors.t index fa6b853..bd601c3 100644 --- a/t/17_syntax_errors.t +++ b/t/17_syntax_errors.t @@ -81,11 +81,11 @@ my $role_type = q{ use MooseX::Types -declare => ['Foo']; use MooseX::Types::Moose 'Str'; - role_type 'mtfnpy'; + role_type 'ypnftm'; - coerce mtfnpy => + coerce ypnftm => from Str, - via { bless \$_, 'mtfnpy' }; + via { bless \$_, 'ypnftm' }; 1; };