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/execution_api/local_tree_map.test.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/buildtool/execution_api/local_tree_map.test.cpp') diff --git a/test/buildtool/execution_api/local_tree_map.test.cpp b/test/buildtool/execution_api/local_tree_map.test.cpp index d8becced..9b9f2da4 100644 --- a/test/buildtool/execution_api/local_tree_map.test.cpp +++ b/test/buildtool/execution_api/local_tree_map.test.cpp @@ -9,11 +9,13 @@ namespace { [[nodiscard]] auto ToDigest(std::string const& s) { - return static_cast(ArtifactDigest{s, 0}); + return static_cast( + ArtifactDigest{s, 0, /*is_tree=*/false}); } [[nodiscard]] auto ToInfo(std::string const& s) { - return Artifact::ObjectInfo{ArtifactDigest{s, 0}, ObjectType::File}; + return Artifact::ObjectInfo{ArtifactDigest{s, 0, /*is_tree=*/false}, + ObjectType::File}; } } // namespace -- cgit v1.2.3