Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

changed up ad-hoc $! test to use throws_like.

  • Loading branch information...
commit e76e8b92d8b3be881d1036b259a23e697ca106e1 1 parent 4aa7777
@timo timo authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 S12-introspection/meta-class.t
View
5 S12-introspection/meta-class.t
@@ -45,8 +45,9 @@ eval_lives_ok "True.HOW.say", "can output the .gist of a .HOW";
# RT #114130
{
- try eval 'Any.HOW(Foo)';
- isa_ok $!, X::Syntax::Argument::MOPMacro, "Passing arguments to HOW throws an exception";
+ use lib "t/spec/packages";
+ use Test::Util;
+ throws_like 'Any.HOW(Foo)', X::Syntax::Argument::MOPMacro;
}
# vim: ft=perl6
Please sign in to comment.
Something went wrong with that request. Please try again.