diff options
Diffstat (limited to 'test/buildtool/tree_structure/tree_structure.test.cpp')
-rw-r--r-- | test/buildtool/tree_structure/tree_structure.test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/buildtool/tree_structure/tree_structure.test.cpp b/test/buildtool/tree_structure/tree_structure.test.cpp index 8943d4a9..c9d6f4e6 100644 --- a/test/buildtool/tree_structure/tree_structure.test.cpp +++ b/test/buildtool/tree_structure/tree_structure.test.cpp @@ -37,8 +37,8 @@ #include "src/buildtool/storage/config.hpp" #include "src/buildtool/storage/garbage_collector.hpp" #include "src/buildtool/storage/storage.hpp" -#include "src/buildtool/tree_structure/compute_tree_structure.hpp" #include "src/buildtool/tree_structure/tree_structure_cache.hpp" +#include "src/buildtool/tree_structure/tree_structure_utils.hpp" #include "src/utils/cpp/expected.hpp" #include "src/utils/cpp/hash_combine.hpp" #include "src/utils/cpp/hex_string.hpp" @@ -134,7 +134,8 @@ TEST_CASE("compute", "[tree_structure]") { auto const tree = CreateComplexTestDirectory(storage_config.Get(), storage); REQUIRE(tree); - auto const tree_structure = ComputeTreeStructure(*tree, storage, ts_cache); + auto const tree_structure = + TreeStructureUtils::Compute(*tree, storage, ts_cache); REQUIRE(tree_structure); REQUIRE(ValidateTreeStructure(*tree_structure, storage)); |