Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Toss two tests assuming out-dated design.
We no longer bind nameds to positionals, and haven't for a long while.
  • Loading branch information
jnthn committed Mar 30, 2015
1 parent 7a69c1e commit 194f336
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions S02-types/capture.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 21;
plan 19;

{
my $capture = \(1,2,3);
Expand Down Expand Up @@ -64,12 +64,6 @@ plan 21;
throws_like { foo6(1,2) },
Exception, # too few args
'capture creation with \\$ works (3)';
#?rakudo todo 'nom regression'
is try { foo6(a => 1, b => 2, c => 3) }, "1!2!3",
'capture creation with \\$ works (4)';
#?rakudo todo 'nom regression'
is try { foo6(1, b => 2, c => 3) }, "1!2!3",
'capture creation with \\$ works (5)';
}

# Arglists are first-class objects
Expand Down

0 comments on commit 194f336

Please sign in to comment.