Skip to content

Commit

Permalink
Update a test to match current spec on type object stringification.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Aug 5, 2011
1 parent 0573f18 commit 68d409b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S06-multi/unpackability.t
Expand Up @@ -21,7 +21,7 @@ is foo(@c), "three", "multi dispatch on array packed with three elements";
is foo(@d), "four", "multi dispatch on array packed with four elements";
is foo(1,2,3,4), "four", "multi dispatch on slurpy packed with four elements";

multi sub bar ([$a,$b?]) { return "$a|$b" }
multi sub bar ([$a,$b?]) { return "$a|$b.gist()" }
multi sub bar (*[$a,$b,$c?]) { return "$a+$b+$c" }

is bar(@a), "1|Any()", "multi dispatch on array packed with one required element + no optional";
Expand Down

0 comments on commit 68d409b

Please sign in to comment.