From: Matt S Trout Date: Sat, 24 Mar 2012 19:24:36 +0000 (+0000) Subject: fix quote_sub usage in t/accessor-coerce.t X-Git-Tag: v0.009014~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9b0fb700146699ec39db5c47bc15dbeb96c4f2b1;p=gitmo%2FMoo.git fix quote_sub usage in t/accessor-coerce.t --- diff --git a/t/accessor-coerce.t b/t/accessor-coerce.t index 804a3d0..d3a41e1 100644 --- a/t/accessor-coerce.t +++ b/t/accessor-coerce.t @@ -192,10 +192,10 @@ run_with_default_for 'Foo3'; has plus_three => ( is => 'rw', default => sub { 1 }, - coerce => quote_sub q{ + coerce => quote_sub(q{ my ($x) = @_; $x + 3 - }, + }), lazy => 1, ); }