Skip to content

Commit 01529f7

Browse files
committed
Better bracing and variable name
1 parent 800b57d commit 01529f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testrunner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ int main(int argc, char *argv[])
2424
{
2525
options args(argc, const_cast<const char**>(argv));
2626

27-
std::size_t ret = TestFixture::runTests(args);
27+
std::size_t failedTestsCount = TestFixture::runTests(args);
2828

29-
return (ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
29+
return (failedTestsCount == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
3030
}

0 commit comments

Comments
 (0)