5 use Test::More tests => 4;
7 use t::common qw( new_fh );
9 diag "Testing DBM::Deep against Perl $] located at $^X";
11 use_ok( 'DBM::Deep' );
16 my ($fh, $filename) = new_fh();
19 DBM::Deep->new( $filename );
23 Test::More->builder->BAIL_OUT( "Opening a new file fails." );
26 isa_ok( $db, 'DBM::Deep' );
27 ok(1, "We can successfully open a file!" );
30 is( $db->{foo}, 'bar' );