# DBM::Deep Test
##
use strict;
-use Test::More tests => 3;
+use Test::More tests => 4;
use t::common qw( new_fh );
};
if ( $@ ) {
diag "ERROR: $@";
- Test::More->builder->BAIL_OUT( "Opening a new file fails" );
+ Test::More->builder->BAIL_OUT( "Opening a new file fails." );
}
isa_ok( $db, 'DBM::Deep' );
ok(1, "We can successfully open a file!" );
+
+$db->{foo} = 'bar';
+is( $db->{foo}, 'bar' );