From: rkinyon@cpan.org Date: Tue, 4 Nov 2008 14:38:26 +0000 (+0000) Subject: Fixed t/13 on Leopard and a couple issues with no_plan on newer Test::More installati... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=40df56059dd4013307af89bf9df2ded0ed2aa77a;p=dbsrgits%2FDBM-Deep.git Fixed t/13 on Leopard and a couple issues with no_plan on newer Test::More installations plus removed a no_plan that wasn't supposed to be there. git-svn-id: http://svn.ali.as/cpan/trunk/DBM-Deep@4549 88f4d9cd-8a04-0410-9d60-8f63309c3137 --- diff --git a/t/13_setpack.t b/t/13_setpack.t index e7ef34b..15ce0e9 100644 --- a/t/13_setpack.t +++ b/t/13_setpack.t @@ -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(); { diff --git a/t/27_filehandle.t b/t/27_filehandle.t index 277236b..846d3bb 100644 --- a/t/27_filehandle.t +++ b/t/27_filehandle.t @@ -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; diff --git a/t/48_autoexport_after_delete.t b/t/48_autoexport_after_delete.t index b34e0b8..15ecaf8 100644 --- a/t/48_autoexport_after_delete.t +++ b/t/48_autoexport_after_delete.t @@ -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 );