From 6c009825cb320cc00531494985aa5fe7e0989971 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Fri, 14 Feb 2025 16:15:05 +0100 Subject: TmpDir: minor refactoring --- test/buildtool/execution_api/common/tree_rehashing.test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/buildtool/execution_api/common/tree_rehashing.test.cpp') diff --git a/test/buildtool/execution_api/common/tree_rehashing.test.cpp b/test/buildtool/execution_api/common/tree_rehashing.test.cpp index 97b21f97..0049a7a0 100644 --- a/test/buildtool/execution_api/common/tree_rehashing.test.cpp +++ b/test/buildtool/execution_api/common/tree_rehashing.test.cpp @@ -43,7 +43,7 @@ #include "test/utils/large_objects/large_object_utils.hpp" namespace { -[[nodiscard]] auto GenerateTestDirectory() -> std::optional; +[[nodiscard]] auto GenerateTestDirectory() -> std::optional; /// \brief Deeply hash a local tree and add it to the storage. [[nodiscard]] auto StoreHashedTree(Storage const& storage, @@ -185,7 +185,7 @@ TEST_CASE("Rehash tree", "[common]") { } namespace { -[[nodiscard]] auto GenerateTestDirectory() -> std::optional { +[[nodiscard]] auto GenerateTestDirectory() -> std::optional { auto const test_dir = FileSystemManager::GetCurrentDirectory() / "tmp"; auto head_temp_directory = TmpDir::Create(test_dir / "head_dir"); auto const head_temp_dir_path = head_temp_directory->GetPath(); -- cgit v1.2.3