update repo to point to github
[gitmo/Moo.git] / xt / moose-lazy.t
index 9e17583..8e8475b 100644 (file)
@@ -1,8 +1,5 @@
 use strictures 1;
 use Test::More;
-use Test::Exception;
-
-use Moo::HandleMoose;
 
 {
    package LazyFrew;
@@ -26,9 +23,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,
    );