From 1208bcc52b83a83f6bd543ca02ad1b270c0ecb88 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Thu, 24 Aug 2023 18:04:29 +0200 Subject: tests: Fix equal operator type mismatch ... causing an error with gcc 13.2.0. --- test/buildtool/execution_engine/dag/dag.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 const command{ "/bin/sh", "-c", "set -e\necho 'Hello, ${NAME}' > greeting"}; - nlohmann::json const env_vars{{"NAME", name}}; + std::map const env_vars{{"NAME", name}}; auto const action_description = ActionDescription{ {"greeting"}, {}, Action{action_id, command, env_vars}, {}}; -- cgit v1.2.3