Skip to content

Commit

Permalink
Fix a concatenation that was presumably meant to be a smartmatch oper…
Browse files Browse the repository at this point in the history
…ator.
  • Loading branch information
jnthn committed Jan 16, 2012
1 parent 60cabaf commit ebfbce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S14-traits/attributes.t
Expand Up @@ -41,7 +41,7 @@ class T3 {
}

my $x = T3.new;
ok $x ~ T3, 'class with traits applied to attributes by role instantiated ok';
ok $x ~~ T3, 'class with traits applied to attributes by role instantiated ok';
is $x.dog.VAR.doc, 'barks', 'trait applied to scalar attribute correctly';
is $x.birds.doc, 'tweet', 'trait applied to array attribute correctly';
is $x.cows.doc, 'moooo', 'trait applied to hash attribute correctly';
Expand Down

0 comments on commit ebfbce1

Please sign in to comment.