cmCTestTestHandler: Remove extra layer of parentheses

A condition in `ComputeTestListForRerunFailed` contained an extra layer
of parentheses.  Remove them.  The condition itself is correct because
an empty list means "all tests" so we want to include the current test.

Issue: #19610
This commit is contained in:
Brad King 2019-08-22 11:05:55 -04:00
parent 7c2767ef3b
commit 74f2c0ea56

View File

@ -893,7 +893,7 @@ void cmCTestTestHandler::ComputeTestListForRerunFailed()
cnt++;
// if this test is not in our list of tests to run, then skip it.
if ((!this->TestsToRun.empty() && !cmContains(TestsToRun, cnt))) {
if (!this->TestsToRun.empty() && !cmContains(this->TestsToRun, cnt)) {
continue;
}