Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[S04-statements/for.t] fix test: 'for zip(@a; @b) -> $x, $y'

  • Loading branch information...
commit 3c9d43722882aadf1ae16fcc2e09918bbc0a647e 1 parent a4a120d
@felher felher authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 S04-statements/for.t
View
4 S04-statements/for.t
@@ -47,11 +47,11 @@ plan 65;
{
my $str;
my @a = 1..3;
- my @b = 5..6;
+ my @b = 4..6;
for zip(@a; @b) -> $x, $y {
$str ~= "($x $y)";
}
- is $str, "(1 5)(2 4)(3 6)", 'for zip(@a; @b) -> $x, $y works';
+ is $str, "(1 4)(2 5)(3 6)", 'for zip(@a; @b) -> $x, $y works';
}
# ... with referential sub
Please sign in to comment.
Something went wrong with that request. Please try again.