Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove redundant (and probably misplaced) test
  • Loading branch information
FROGGS committed Apr 1, 2013
1 parent 75c8a16 commit b0e6796
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions S04-declarations/our.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 18;
plan 17;

# L<S04/The Relationship of Blocks and Declarations/"our $foo" introduces a lexically scoped
# alias for a variable in the current package
Expand All @@ -22,15 +22,6 @@ is($a, 1, '$a has not changed');
}
is($a, 3, '$a has changed'); # XXX is that right?

# eval() introduces new lexical scope
is( eval('
my $e = 11;
{
my $e = 3 #OK not used
};
$e;
'), 11, '$e is available, and the outer value has not changed' );

# test that our (@array, @otherarray) correctly declares
# and initializes both arrays
{
Expand Down

0 comments on commit b0e6796

Please sign in to comment.