From 1bdc5dafd5b37d32ee27754319a5e5ea1cc879cc Mon Sep 17 00:00:00 2001 From: Ian Roddis Date: Mon, 23 Aug 2021 17:42:43 -0300 Subject: [PATCH] - More fixes for CI failing tests --- tests/unit_executor_forkingexecutor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_executor_forkingexecutor.cpp b/tests/unit_executor_forkingexecutor.cpp index 15af328..f5eea40 100644 --- a/tests/unit_executor_forkingexecutor.cpp +++ b/tests/unit_executor_forkingexecutor.cpp @@ -14,7 +14,7 @@ TEST_CASE("Basic Execution", "[forking_executor]") { auto rec = ex.runCommand(task); REQUIRE(rec.rc == 0); - REQUIRE(rec.outputLog == "abc 123\n"); + REQUIRE(rec.outputLog.find("abc 123") != std::string::npos); REQUIRE(rec.errorLog.empty()); }