Skip to content
Browse files

add a test for '' methods not found.

  • Loading branch information...
1 parent fdb4719 commit cb80e7a8136a13a6f15aa4ec162e6d99f60ad4be @timo timo committed Mar 13, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 S32-exceptions/misc.t
View
5 S32-exceptions/misc.t
@@ -390,4 +390,9 @@ throws_like 'class Foobar is Foobar', X::Inheritance::SelfInherit, name => "Foob
throws_like q{if 10 > 5 { say "maths works!" } else if 10 == 5 { say "identity is weird" } else { say "math is weird" }}, X::Syntax::Malformed::Elsif;
}
+{
+ # RT #72958
+ throws_like q{1/2.''()}, X::Method::NotFound, method => '', typename => 'Int';
+}
+
done;

0 comments on commit cb80e7a

Please sign in to comment.
Something went wrong with that request. Please try again.