Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Parameter.perl test for defaults
Marked as todo, as this wouldn't be ok in 2015.12
  • Loading branch information
lizmat committed Mar 4, 2016
1 parent 43d3db6 commit a2ec5a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration/advent2009-day20.t
Expand Up @@ -11,7 +11,8 @@ is &foo.name, 'foo', 'Introspecting subroutine name';
my $bar = &foo;
is $bar.name, 'foo', 'Introspecting subroutine for a sub assigned to a scalar';

is &foo.signature.perl, ':(Int $i, @stuff, $blah = { ... })', 'Introspecting and stringification of subroutine signature';
#?rakudo todo 'fixed in eac1e26d6342d0d65'
is &foo.signature.perl, ':(Int $i, @stuff, $blah = 5)', 'Introspecting and stringification of subroutine signature';

# Not sure if this is an appropriate test - as this code doesn't exist in the Advent Calendar
my @sig-info = \(name => '$i', type => 'Int'),
Expand Down

0 comments on commit a2ec5a2

Please sign in to comment.