5 use Test::More tests => 4;
6 use t::common qw( new_fh );
10 my ($fh, $filename) = new_fh();
11 my $db = DBM::Deep->new(
18 my $val1 = "a" x 1000;
21 is( $db->{foo}, $val1, "1000 char value stored and retrieved" );
24 my $size = -s $filename;
25 $db->{bar} = "a" x 300;
26 is( $db->{bar}, 'a' x 300, "New 256 char value is stored" );
27 cmp_ok( $size, '==', -s $filename, "Freespace is reused" );