Revert autogenerated tests. Tests should not changed radically.
[gitmo/Mouse.git] / t / 010_basics / 020-global-destruction-helper.pl
index fc0c3a8..a690d4d 100644 (file)
@@ -1,11 +1,8 @@
 #!/usr/bin/perl
-# This is automatically generated by author/import-moose-test.pl.
-# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
-use t::lib::MooseCompat;
 
 use strict;
 use warnings;
-
+no warnings 'once'; # work around 5.6.2
 
 {
     package Foo;
@@ -15,7 +12,7 @@ use warnings;
         my $self = shift;
         my ($igd) = @_;
 
-        print $igd;
+        print $igd || 0, "\n";
     }
 }
 
@@ -27,7 +24,7 @@ use warnings;
         my $self = shift;
         my ($igd) = @_;
 
-        print $igd;
+        print $igd || 0, "\n";
     }
 
     __PACKAGE__->meta->make_immutable;