Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unfudge now passing EVAL tests (and add .EVAL)
  • Loading branch information
lizmat committed Jul 9, 2014
1 parent 6e71b0b commit 4af01d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions S29-context/eval.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 18;
plan 20;

# L<S29/Context/"=item EVAL">

Expand Down Expand Up @@ -65,12 +65,12 @@ dies_ok({EVAL {; 42} }, 'block EVAL is gone');
is EVAL("'møp'".encode('UTF-8')), 'møp', 'EVAL(Buf)';

{
#?rakudo skip 'EVAL coerce to string'
is EVAL(88), 88, 'EVAL of non-string works';
is 88.EVAL, 88, '.EVAL of non-string works';

my $number = 2;
#?rakudo skip 'EVAL coerce to string'
is EVAL($number), $number, 'EVAL of non-string variable works';
is $number.EVAL, $number, '.EVAL of non-string variable works';
}

# RT #77646
Expand Down

0 comments on commit 4af01d7

Please sign in to comment.