Skip to content

Commit

Permalink
Fix some wrong quoting.t tests
Browse files Browse the repository at this point in the history
I'm not sure when those zen slices were ever supposed to be magically
removed by quoting constructs that don't otherwise recognize those kinds
of variables. And I can only hope that the qww test was supposed to be
qqww, since nothing about ww implies variable interpolation.

With this, quoting.t is no longer fudged for rakudo :) .
  • Loading branch information
ShimmerFairy committed Sep 15, 2015
1 parent 100f141 commit 5692656
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions S02-literals/quoting.t
Original file line number Diff line number Diff line change
Expand Up @@ -487,15 +487,11 @@ Hello, World
sub zeta {42};
is(qw[a b], <a b>, 'qw');
#?rakudo todo 'quoting adverbs'
is(qww[$alpha $beta], <foo bar>, 'qww');
is(qqww[$alpha $beta], <foo bar>, 'qww');
is(qq[$alpha $beta], 'foo bar', 'qq');
#?rakudo todo 'quoting adverbs'
is(Qs[$alpha @delta[] %gamma<>], 'foo @delta %gamma', 'Qs');
#?rakudo todo 'quoting adverbs'
is(Qa[$alpha @delta[] %gamma<>], '$alpha ' ~ @delta ~ ' %gamma', 'Qa');
#?rakudo todo 'quoting adverbs'
is(Qh[$alpha @delta[] %gamma<>], '$alpha @delta ' ~ %gamma, 'Qh');
is(Qs[$alpha @delta[] %gamma<>], 'foo @delta[] %gamma<>', 'Qs');
is(Qa[$alpha @delta[] %gamma<>], '$alpha ' ~ @delta ~ ' %gamma<>', 'Qa');
is(Qh[$alpha @delta[] %gamma<>], '$alpha @delta[] ' ~ %gamma, 'Qh');
is(Qf[$alpha &zeta()], '$alpha 42', 'Qf');
is(Qb[$alpha\t$beta], '$alpha $beta', 'Qb');
is(Qc[{1+1}], 2, 'Qc');
Expand Down

0 comments on commit 5692656

Please sign in to comment.