mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-12 05:49:56 -04:00
Fix new tests triggering assertions in debug builds
This commit is contained in:
parent
3dfad5ab02
commit
20258e37f4
@ -767,6 +767,8 @@ TEST_P(file_scanner, inode_ordering) {
|
|||||||
|
|
||||||
opts.file_order.mode = order_mode;
|
opts.file_order.mode = order_mode;
|
||||||
opts.file_hash_algorithm = file_hash_algo;
|
opts.file_hash_algorithm = file_hash_algo;
|
||||||
|
opts.inode.with_similarity = order_mode == file_order_mode::SIMILARITY;
|
||||||
|
opts.inode.with_nilsimsa = order_mode == file_order_mode::NILSIMSA;
|
||||||
|
|
||||||
auto input = std::make_shared<test::os_access_mock>();
|
auto input = std::make_shared<test::os_access_mock>();
|
||||||
constexpr int dim = 14;
|
constexpr int dim = 14;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user