Skip to content

Commit

Permalink
Simplified xsystem test
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed May 27, 2024
1 parent 2aa695b commit 94a13d5
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 94a13d5

Please sign in to comment.