Permalink
Browse files

Fix a concatenation that was presumably meant to be a smartmatch oper…

…ator.
  • Loading branch information...
1 parent 60cabaf commit ebfbce1a89264584f0fb35de172d6e10fc03fe9a @jnthn jnthn committed Jan 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 S14-traits/attributes.t
View
@@ -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';

0 comments on commit ebfbce1

Please sign in to comment.