projects
/
gitmo/Role-Tiny.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
handle non-lazy default and builder when init_arg is undef
[gitmo/Role-Tiny.git]
/
t
/
method-generate-constructor.t
diff --git
a/t/method-generate-constructor.t
b/t/method-generate-constructor.t
index
db10020
..
6a030c8
100644
(file)
--- a/
t/method-generate-constructor.t
+++ b/
t/method-generate-constructor.t
@@
-51,4
+51,10
@@
is(
'pass with both required args'
);
+is(
+ exception { Bar->new({ one => 1, THREE => 3 }) },
+ undef,
+ 'hashrefs also supported'
+);
+
done_testing;