Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use *-1 to indicate from end of list.

std++
  • Loading branch information...
commit e488f73946b7f8bd916f345810bacda69a9d28f2 1 parent 8ccf840
@coke coke authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  S02-types/hash.t
View
2  S02-types/hash.t
@@ -300,7 +300,7 @@ eval_lives_ok('my $rt75694 = { has-b => 42 }', "can have a bareword key starting
#?pugs skip 'No compatible multi variant found: "&is"'
#?niecza skip "Unsupported use of [-1] subscript to access from end of array"
{
- is {}[-1], Failure, 'array-indexing a hash with a negative index is Failure';
+ is {}[*-1], Failure, 'array-indexing a hash with a negative index is Failure';
}
done;
Please sign in to comment.
Something went wrong with that request. Please try again.