projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b57940c
)
Quiet a warning
Michael G Schwern [Wed, 13 Feb 2008 07:04:38 +0000 (23:04 -0800)]
t/cdbi-t/04-lazy.t
patch
|
blob
|
blame
|
history
diff --git
a/t/cdbi-t/04-lazy.t
b/t/cdbi-t/04-lazy.t
index
15e1e1c
..
1ca413c
100644
(file)
--- a/
t/cdbi-t/04-lazy.t
+++ b/
t/cdbi-t/04-lazy.t
@@
-108,7
+108,7
@@
ok($@, $@);
{
Lazy->has_a(
orp => 'Date::Simple',
- inflate => sub { Date::Simple->new(shift . '-01-01') },
+ inflate => sub { Date::Simple->new($_[0] . '-01-01') },
deflate => 'format'
);