projects
/
gitmo/MooseX-ClassAttribute.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
76beb0c
)
Add default for counter
Dave Rolsky [Mon, 27 Sep 2010 22:09:59 +0000 (17:09 -0500)]
t/04-with-native-traits.t
patch
|
blob
|
blame
|
history
diff --git
a/t/04-with-native-traits.t
b/t/04-with-native-traits.t
index
6ec2b8b
..
696972d
100644
(file)
--- a/
t/04-with-native-traits.t
+++ b/
t/04-with-native-traits.t
@@
-12,6
+12,7
@@
use Test::More tests => 2;
class_has counter => (
traits => ['Counter'],
is => 'ro',
+ default => 0,
handles => {
inc_counter => 'inc',
},