projects
/
gitmo/Moo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
55afe26
)
stop variable getting detached in lazy test
Matt S Trout [Wed, 4 Apr 2012 04:12:08 +0000 (
04:12
+0000)]
xt/moose-lazy.t
patch
|
blob
|
blame
|
history
diff --git
a/xt/moose-lazy.t
b/xt/moose-lazy.t
index
9e17583
..
20a2fa2
100644
(file)
--- a/
xt/moose-lazy.t
+++ b/
xt/moose-lazy.t
@@
-26,9
+26,9
@@
use Moo::HandleMoose;
has frew => (
is => 'rw',
default => quote_sub(q{
- $quoted_default_ran = 1;
+ $$quoted_default_ran = 1;
'test frew'
- }, { '$quoted_default_ran' => \$quoted_default_ran }),
+ }, { '$quoted_default_ran' => \\$quoted_default_ran }),
lazy => 1,
);