Merged with master and am ready to merge back
[dbsrgits/DBM-Deep.git] / t / 97_dump_file.t
index fec9980..67a6627 100644 (file)
@@ -1,17 +1,16 @@
 use strict;
-use Test::More tests => 3;
+use warnings FATAL => 'all';
+
+use Test::More;
 use Test::Deep;
 use t::common qw( new_fh );
 
 use_ok( 'DBM::Deep' );
 
 my ($fh, $filename) = new_fh();
-my $db = DBM::Deep->new(
-       file => $filename,
-);
+my $db = DBM::Deep->new( $filename );
 
 is( $db->_dump_file, <<"__END_DUMP__", "Dump of initial file correct" );
-Size: 94
 NumTxns: 1
 Chains(B):
 Chains(D):
@@ -21,8 +20,7 @@ __END_DUMP__
 
 $db->{foo} = 'bar';
 
-is( $db->_dump_file, <<"__END_DUMP__", "Dump of initial file correct" );
-Size: 609
+is( $db->_dump_file, <<"__END_DUMP__", "Dump of file after single assignment" );
 NumTxns: 1
 Chains(B):
 Chains(D):
@@ -34,3 +32,4 @@ Chains(I):
 00000545: D  0064 foo
 __END_DUMP__
 
+done_testing;