From 01529f79aced88fe88c5f5e9465e59162b7672b5 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Thu, 4 Sep 2014 12:18:26 +0400 Subject: [PATCH] Better bracing and variable name --- test/testrunner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testrunner.cpp b/test/testrunner.cpp index 70915a5f3..ea32c6885 100644 --- a/test/testrunner.cpp +++ b/test/testrunner.cpp @@ -24,7 +24,7 @@ int main(int argc, char *argv[]) { options args(argc, const_cast(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; }