From 94a13d5ec2e102027f78e12449c3a132db6e7bf3 Mon Sep 17 00:00:00 2001 From: Johan Mabille Date: Tue, 28 May 2024 00:32:25 +0200 Subject: [PATCH] Simplified xsystem test --- test/test_xsystem.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test_xsystem.cpp b/test/test_xsystem.cpp index 2a683ec8..f2269e1d 100644 --- a/test/test_xsystem.cpp +++ b/test/test_xsystem.cpp @@ -28,8 +28,7 @@ namespace xeus REQUIRE_NE(prefix.size(), exec_path.size()); REQUIRE(std::equal(prefix.cbegin(), prefix.cend(), exec_path.cbegin())); - bool res = (exec_path.find("test_xtl") != std::string::npos) || (exec_path.find("test_xsystem") != std::string::npos); - REQUIRE(res); + REQUIRE(exec_path.find("test_xsystem") != std::string::npos); } } }