Fixed t/13 on Leopard and a couple issues with no_plan on newer Test::More installati...
rkinyon@cpan.org [Tue, 4 Nov 2008 14:38:26 +0000 (14:38 +0000)]
git-svn-id: http://svn.ali.as/cpan/trunk/DBM-Deep@4549 88f4d9cd-8a04-0410-9d60-8f63309c3137

t/13_setpack.t
t/27_filehandle.t
t/48_autoexport_after_delete.t

index e7ef34b..15ce0e9 100644 (file)
@@ -76,8 +76,9 @@ my ($default, $small, $medium, $large);
 }
 
 SKIP: {
+    eval "pack('Q', 0);";
     skip "Largefile support is not compiled into $^X", 3
-        unless $Config{ use64bitall };
+        if $@;
 
     my ($fh, $filename) = new_fh();
     {
index 277236b..846d3bb 100644 (file)
@@ -50,7 +50,7 @@ use_ok( 'DBM::Deep' );
     print $fh "#!$^X\n";
     print $fh <<'__END_FH__';
 use strict;
-use Test::More no_plan => 1;
+use Test::More 'no_plan';
 Test::More->builder->no_ending(1);
 Test::More->builder->{Curr_Test} = 12;
 
index b34e0b8..15ecaf8 100644 (file)
@@ -3,7 +3,7 @@ use 5.006;
 use strict;
 use warnings FATAL => 'all';
 
-use Test::More no_plan => 1;
+use Test::More tests => 2;
 use Test::Deep;
 
 use t::common qw( new_fh );