Skip to content

Commit

Permalink
get rid of hash ordering assumption in interpolation test
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 11, 2012
1 parent bdc62b4 commit 4015e8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions S02-literals/hash-interpolation.t
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ plan 10;

{
# L<S02/Arrays/In order to interpolate an entire hash>
my %hash = { a=> 1, b => 2 };
my %hash = { b => 2 };
#?rakudo 2 skip 'zen hash slice'
#?niecza 2 skip 'zen hash slice'
is "%hash{}", "a\t1\nb\t2\n", 'interpolation with curly braces';
is "%hash<>", "a\t1\nb\t2\n", 'interpolation with angle brackets';
is "%hash{}", "b\t2\n", 'interpolation with curly braces';
is "%hash<>", "b\t2\n", 'interpolation with angle brackets';
is "%hash", '%hash', 'no interpolation';
}

Expand Down

0 comments on commit 4015e8c

Please sign in to comment.