From 20258e37f4dfbf17a266519c7113ea302960e913 Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Sat, 4 Mar 2023 18:02:19 +0100 Subject: [PATCH] Fix new tests triggering assertions in debug builds --- test/dwarfs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/dwarfs.cpp b/test/dwarfs.cpp index ad61daaf..927e9dc0 100644 --- a/test/dwarfs.cpp +++ b/test/dwarfs.cpp @@ -767,6 +767,8 @@ TEST_P(file_scanner, inode_ordering) { opts.file_order.mode = order_mode; 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(); constexpr int dim = 14;