Permalink
Browse files

[S03-junctions/autothreading] Use our to avoid testing unrelated prot…

…olexpad handling
  • Loading branch information...
1 parent 1b51b3a commit a2ccce2ecf6a85f01a6277f81f71b9ca5f9a0fa1 @sorear sorear committed Jun 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 S03-junctions/autothreading.t
@@ -171,13 +171,13 @@ plan 83;
{
# Auto-threading over an invocant.
- my $cnt1 = 0;
+ our $cnt1 = 0;
class JuncInvTest1 {
method a { $cnt1++; }
has $.n;
method d { 2 * $.n }
}
- my $cnt2 = 0;
+ our $cnt2 = 0;
class JuncInvTest2 {
method a { $cnt2++; }
method b($x) { $cnt2++ } #OK not used

0 comments on commit a2ccce2

Please sign in to comment.