summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_api/local/local_execution.test.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-01-29 09:46:58 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2025-02-07 14:58:04 +0100
commit95792fb717bd84d500037b62c77a4949274e670d (patch)
tree9bb1765a57e4d6d42941a33aff7e9721dec8068e /test/buildtool/execution_api/local/local_execution.test.cpp
parentea2291d24d531a1ea221f1035636303ac0da787d (diff)
downloadjustbuild-95792fb717bd84d500037b62c77a4949274e670d.tar.gz
Replace ArtifactBlobContainer and BazelBlobContainer
...with explicit std::unordered_set.
Diffstat (limited to 'test/buildtool/execution_api/local/local_execution.test.cpp')
-rw-r--r--test/buildtool/execution_api/local/local_execution.test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/buildtool/execution_api/local/local_execution.test.cpp b/test/buildtool/execution_api/local/local_execution.test.cpp
index dff30d51..4c5565e1 100644
--- a/test/buildtool/execution_api/local/local_execution.test.cpp
+++ b/test/buildtool/execution_api/local/local_execution.test.cpp
@@ -20,6 +20,7 @@
#include <optional>
#include <string>
#include <unordered_map>
+#include <unordered_set>
#include <utility>
#include <vector>
@@ -274,9 +275,8 @@ TEST_CASE("LocalExecution: One input copied to output", "[execution_api]") {
std::string test_content("test");
auto test_digest = ArtifactDigestFactory::HashDataAs<ObjectType::File>(
storage_config.Get().hash_function, test_content);
- REQUIRE(api.Upload(ArtifactBlobContainer{{ArtifactBlob{
- test_digest, test_content, /*is_exec=*/false}}},
- false));
+ REQUIRE(api.Upload(
+ {ArtifactBlob{test_digest, test_content, /*is_exec=*/false}}, false));
std::string input_path{"dir/subdir/input"};
std::string output_path{"output_file"};