Better bracing and variable name
This commit is contained in:
parent
800b57d87e
commit
01529f79ac
|
@ -24,7 +24,7 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
options args(argc, const_cast<const char**>(argv));
|
||||
|
||||
std::size_t ret = TestFixture::runTests(args);
|
||||
std::size_t failedTestsCount = TestFixture::runTests(args);
|
||||
|
||||
return (ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
|
||||
return (failedTestsCount == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue