summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_engine/dag/dag.test.cpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-08-24 18:04:29 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2023-08-24 19:19:43 +0200
commit1208bcc52b83a83f6bd543ca02ad1b270c0ecb88 (patch)
treec579d38a75130a9181721b151a5578ec5280abb3 /test/buildtool/execution_engine/dag/dag.test.cpp
parent70ad8adeb4684c0002e9d395025c6ba65bf70412 (diff)
downloadjustbuild-1208bcc52b83a83f6bd543ca02ad1b270c0ecb88.tar.gz
tests: Fix equal operator type mismatch
... causing an error with gcc 13.2.0.
Diffstat (limited to 'test/buildtool/execution_engine/dag/dag.test.cpp')
-rw-r--r--test/buildtool/execution_engine/dag/dag.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/buildtool/execution_engine/dag/dag.test.cpp b/test/buildtool/execution_engine/dag/dag.test.cpp
index b793a2a7..a9b87554 100644
--- a/test/buildtool/execution_engine/dag/dag.test.cpp
+++ b/test/buildtool/execution_engine/dag/dag.test.cpp
@@ -143,7 +143,7 @@ TEST_CASE("AddAction({single action, single output, no inputs, env_variables})",
DependencyGraph g;
std::vector<std::string> const command{
"/bin/sh", "-c", "set -e\necho 'Hello, ${NAME}' > greeting"};
- nlohmann::json const env_vars{{"NAME", name}};
+ std::map<std::string, std::string> const env_vars{{"NAME", name}};
auto const action_description = ActionDescription{
{"greeting"}, {}, Action{action_id, command, env_vars}, {}};