Permalink
Browse files

Fix test file that assumed Int ~~ Num, and unfudge the test Rakudo ri…

…ghtly didn't pass before it was fixed.
  • Loading branch information...
1 parent 67a09e1 commit 41c9d28aeb9e8b11fef21ca7b482d45b384c50c8 @jnthn jnthn committed Sep 29, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 S06-advanced/callsame.t
View
@@ -4,16 +4,15 @@ use Test;
# RT 71754
{
my @called;
- multi rt71754( Num $x ) { #OK not used
- push @called, 'Num';
+ multi rt71754( Numeric $x ) { #OK not used
+ push @called, 'Numeric';
}
multi rt71754( Int $x ) { #OK not used
push @called, 'Int';
callsame;
}
lives_ok { rt71754( 71754 ) }, 'Can call multi that uses "callsame"';
- #?rakudo todo 'RT 71754'
- is @called, <Int Num>, 'multi with "callsame" worked';
+ is @called, <Int Numeric>, 'multi with "callsame" worked';
}
# RT 69314

0 comments on commit 41c9d28

Please sign in to comment.