Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test + calling .Numeric (GH-3)
  • Loading branch information
sorear committed Dec 2, 2010
1 parent ba74359 commit 2e2c977
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test2.pl
Expand Up @@ -2,6 +2,11 @@
use Test;
use MONKEY_TYPING;

{
# GH-3
my class A { method Numeric { 42 } }
is A.new + 23, 65, '+ calls user-written .Numeric';
}

#is $?FILE, 'test.pl', '$?FILE works';
#is $?ORIG.substr(0,5), '# vim', '$?ORIG works';
Expand Down

0 comments on commit 2e2c977

Please sign in to comment.