Codebase list libexception-class-dbi-perl / c019fdc
Removed incompatible version comparison test. David Wheeler 15 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
00 Revision history for Perl extension Exception::Class::DBI.
11
22 1.00
3 - Fixed a test failure on Perl 5.5. Reported by Slaven Rezic.
34
45 0.99 2008-05-15T03:31:30
56 - Fixed another Perl 5.6.2 test error. Reported by Slaven Rezic.
22 # $Id$
33
44 use strict;
5 use Test::More tests => 28;
5 use Test::More tests => 27;
66 BEGIN { use_ok('Exception::Class::DBI') or die }
77 use DBI;
88
5151 # as it seems safer with older Perls. See
5252 # http://groups.google.com/group/perl.dbi.dev/browse_thread/thread/6a1903e2eb251d45
5353 # for details.
54 is( $err->kids, ($^V lt v5.6.2 ? 1 : 0), "Check kids" );
5554 is( $err->kids, ($] < 5.006_002 ? 1 : 0), "Check kids" );
5655 is( $err->active_kids, 0, "Check active_kids" );
5756 ok( ! $err->inactive_destroy, "Check inactive_destroy" );