From ee6f54124360d8a72b9b545dcc581f3c80d3c8a9 Mon Sep 17 00:00:00 2001 From: Sascha Roloff Date: Mon, 11 Jul 2022 19:55:10 +0200 Subject: Modified artifact digest to provide wire digest on demand --- test/buildtool/common/repository_config.test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/buildtool/common/repository_config.test.cpp') diff --git a/test/buildtool/common/repository_config.test.cpp b/test/buildtool/common/repository_config.test.cpp index 19ab25c2..bd2a0e0b 100644 --- a/test/buildtool/common/repository_config.test.cpp +++ b/test/buildtool/common/repository_config.test.cpp @@ -59,7 +59,8 @@ template // Read graph from CAS [[nodiscard]] auto ReadGraph(std::string const& hash) -> nlohmann::json { auto& cas = LocalCAS::Instance(); - auto blob = cas.BlobPath(ArtifactDigest{hash, /*does not matter*/ 0}); + auto blob = cas.BlobPath( + ArtifactDigest{hash, /*does not matter*/ 0, /*is_tree=*/false}); REQUIRE(blob); auto content = FileSystemManager::ReadFile(*blob); REQUIRE(content); -- cgit v1.2.3