Permalink
Browse files

fix and unfudge zen hash slice tests

  • Loading branch information...
moritz committed Feb 11, 2012
1 parent 4e2fc98 commit ecd13f455db67a69826c1e4e201e23a7f2d14bed
Showing with 3 additions and 5 deletions.
  1. +2 −3 S02-literals/hash-interpolation.t
  2. +1 −2 S02-literals/misc-interpolation.t
@@ -19,10 +19,9 @@ plan 10;
{
# L<S02/Arrays/In order to interpolate an entire hash>
my %hash = { b => 2 };
- #?rakudo 2 skip 'zen hash slice'
#?niecza 2 skip 'zen hash slice'
- is "%hash{}", "b\t2\n", 'interpolation with curly braces';
- is "%hash<>", "b\t2\n", 'interpolation with angle brackets';
+ is "%hash{}", "b\t2", 'interpolation with curly braces';
+ is "%hash<>", "b\t2", 'interpolation with angle brackets';
is "%hash", '%hash', 'no interpolation';
}
@@ -24,9 +24,8 @@ is("Hello $world", 'Hello World', 'double quoted string interpolation works');
#?niecza skip 'No value for parameter \$index in postcircumfix:<[ ]>'
is("@list[]\ 3 4", '1 2 3 4', 'double quoted list interpolation works');
is("@list 3 4", '@list 3 4', 'array without empty square brackets does not interpolate');
-#?rakudo skip 'zen hash slice'
#?niecza skip 'No value for parameter \$index in postcircumfix:<{ }>'
-is("%hash{}", "1\t2\n", 'hash interpolation works');
+is("%hash{}", "1\t2", 'hash interpolation works');
is("%hash", '%hash', 'hash interpolation does not work if not followed by {}');
#?niecza skip 'Action method escape:sym<&> not yet implemented'
is("Wont you take me to &func()", 'Wont you take me to func-y town', 'closure interpolation');

0 comments on commit ecd13f4

Please sign in to comment.