Permalink
Browse files

more typed exceptions

  • Loading branch information...
1 parent a2b6fc2 commit 3b9a60491c16c0183502b675ac036a9c882e0597 @moritz moritz committed Feb 23, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 S32-exceptions/misc.t
View
@@ -141,5 +141,8 @@ throws_like 'my module A { has $.x }', X::Attribute::Package, package-type => 'm
throws_like 'has sub a() { }', X::Sub::Scope, scope => 'has';
throws_like 'multi sub () { }', X::Anon::Multi, multiness => 'multi';
throws_like 'proto sub () { }', X::Anon::Multi, multiness => 'proto';
+throws_like 'class { multi method () { }}', X::Anon::Multi, routine-type => 'method';
+
+throws_like ':45<abcd>', X::Syntax::Number::RadixOutOfRange, radix => 45;
done;

0 comments on commit 3b9a604

Please sign in to comment.