failing test for sqeeze to fit code

This commit is contained in:
Nikolay Volf 2016-01-27 13:22:51 +04:00
parent 9225209086
commit 8d8782056a
1 changed files with 3 additions and 0 deletions

View File

@ -803,5 +803,8 @@ mod tests {
let bc = get_populated_bc();
bc.squeeze_to_fit(CacheSize { blocks: 0, block_logs: 0, transaction_addresses: 0, block_details: 0, blocks_blooms: 0 } );
assert_eq!(bc.cache_size().blocks, 0);
assert_eq!(bc.cache_size().block_details, 0);
assert_eq!(bc.cache_size().block_logs, 0);
assert_eq!(bc.cache_size().blocks_blooms, 0);
}
}