projects
/
gitmo/MooseX-Types-Structured.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added some code to improve the error message and added test for that
[gitmo/MooseX-Types-Structured.git]
/
t
/
11-overflow.t
diff --git
a/t/11-overflow.t
b/t/11-overflow.t
index
a57f327
..
3e8d0f4
100644
(file)
--- a/
t/11-overflow.t
+++ b/
t/11-overflow.t
@@
-72,4
+72,3
@@
ok $array_tailed_dict->check({name=>'Vanessa Li', age=>35}), 'correct pass';
ok !$array_tailed_dict->check([]), 'correct fail';
ok $array_tailed_dict->check({name=>'Vanessa Li', age=>35, 1,2}), 'correct pass with tail';
ok !$array_tailed_dict->check({name=>'Vanessa Li', age=>35, 1, "hello"}), 'correct fail with tail';
-