Skip to content

Commit

Permalink
[t/spec] tests for RT #75956, @*INC should be writable
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.pugscode.org/pugs@31484 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
moritz committed Jun 28, 2010
1 parent 1e12d97 commit b8065cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S28-named-variables/inc.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 3;
plan 5;

# Note that @*INC is only provisional until we have plans for a "real"
# module database in place.
Expand All @@ -18,4 +18,7 @@ is(+@*INC, $number_in_inc + 1, 'we added something to @INC');
pop @*INC;
is(+@*INC, $number_in_inc, 'we removed something from @INC');

lives_ok { @*INC = <a b c> }, 'Can assign to @*INC';
is @*INC.join(','), 'a,b,c', '... and assignment worked';

# vim: ft=perl6

0 comments on commit b8065cb

Please sign in to comment.