projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
We need to say new -> _new? what's the better way of doing this?
[gitmo/Moose.git]
/
t
/
040_type_constraints
/
025_type_coersion_on_lazy_attributes.t
diff --git
a/t/040_type_constraints/025_type_coersion_on_lazy_attributes.t
b/t/040_type_constraints/025_type_coersion_on_lazy_attributes.t
index
ebe9d33
..
3af0b5c
100644
(file)
--- a/
t/040_type_constraints/025_type_coersion_on_lazy_attributes.t
+++ b/
t/040_type_constraints/025_type_coersion_on_lazy_attributes.t
@@
-14,8
+14,8
@@
use Test::More tests => 2;
=> where { /^6$/ };
subtype 'TextSix' => as 'Str'
=> where { /Six/i };
- coerce 'TextSix'
- => from 'DigitSix'
+ coerce 'TextSix'
+ => from 'DigitSix'
=> via { confess("Cannot live without 6 ($_)") unless /^6$/; 'Six' };
has foo => (