Skip to content

Commit

Permalink
Merge pull request #403 from JohanMabille/test_system
Browse files Browse the repository at this point in the history
Simplified xsystem test
  • Loading branch information
JohanMabille authored May 27, 2024
2 parents 2aa695b + 94a13d5 commit 0fb8184
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_xsystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit 0fb8184

Please sign in to comment.