##
# Create structure in $db
##
-$db->import(
+$db->import({
hash1 => {
subkey1 => "subvalue1",
subkey2 => "subvalue2",
hash2 => {
subkey3 => 'subvalue3',
},
-);
+});
is( $db->{hash1}{subkey1}, 'subvalue1', "Value imported correctly" );
is( $db->{hash1}{subkey2}, 'subvalue2', "Value imported correctly" );