Skip to content

Commit

Permalink
Update test for [...] semantics.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Aug 27, 2015
1 parent 8256c7f commit af9c772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S04-statements/for-scope.t
Expand Up @@ -53,7 +53,7 @@ for 1, 2 -> $_ {
}

is respect(1,2,3), 3, 'a for loop inside a sub loops over each of the elements';
is respect([1,2,3]), 1, '... but only over one array ref';
is respect($[1,2,3]), 1, '... but only over one itemized array';
is respect( my @a = 1, 2, 3 ), 3, '...and when the array is declared in the argument list';
is @a.join(','), '1,2,3', 'and the array get the right values';
}
Expand Down

0 comments on commit af9c772

Please sign in to comment.