Skip to content

Commit

Permalink
Add fudged test regarding direct assignment to $/
Browse files Browse the repository at this point in the history
(now disallowed by S05 but NYI)
  • Loading branch information
usev6 committed Oct 3, 2014
1 parent b30ed8a commit 82e8a20
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S02-names-vars/varnames.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 12;
plan 13;

# L<S02/Names and Variables/special variables of Perl 5 are going away>

Expand All @@ -11,6 +11,10 @@ lives_ok { EVAL 'my $!' },
lives_ok { EVAL 'my $/' },
'as can $/';

#?rakudo skip 'NYI'
dies_ok { EVAL '$/ = "foo"' },
'S05: Perl 6\'s $/ variable may not be assigned to directly.';

#?niecza todo
lives_ok { EVAL 'my proto $!' },
'$! can be declared again if proto is used though';
Expand Down

0 comments on commit 82e8a20

Please sign in to comment.