diff options
-rw-r--r-- | t/lib/overload_nomethod.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/lib/overload_nomethod.t b/t/lib/overload_nomethod.t index d72dceea10..edff1639a1 100644 --- a/t/lib/overload_nomethod.t +++ b/t/lib/overload_nomethod.t @@ -12,11 +12,11 @@ package main; my $foo = Foo->new; eval {my $val = $foo + 1}; -ok( $@ =~ /unimplemented/ ); +ok( $@ =~ /unimplemented/, "'+' not implemented; 'nomethod' special key invoked" ); eval {$foo += 1}; -ok( $@ =~ /unimplemented/ ); +ok( $@ =~ /unimplemented/, "'+=' not implemented; 'nomethod' special key invoked" ); eval {my $val = 0; $val += $foo}; -ok( $@ =~ /unimplemented/ ); +ok( $@ =~ /unimplemented/, "'+=' not implemented; 'nomethod' special key invoked" ); |