summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Groll <groll@cs.uni-kl.de>2019-01-10 17:03:47 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2019-02-14 22:40:58 +0800
commit51efd6f2184405dea29265ea0dd25c71b348404a (patch)
treebebbabbd7c801e27599f520888300eb60148ae8a
parent1caa3a0c66f009fe1a386d7559dc25054dad42a3 (diff)
downloadcppunit-51efd6f2184405dea29265ea0dd25c71b348404a.tar.gz
Added some brackets to make it more clear for the compile which things belongs to the if body
-rw-r--r--include/cppunit/TestAssert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cppunit/TestAssert.h b/include/cppunit/TestAssert.h
index 1e17868..521a4e4 100644
--- a/include/cppunit/TestAssert.h
+++ b/include/cppunit/TestAssert.h
@@ -551,7 +551,7 @@ void assertGreaterEqual( const T& expected,
} \
\
if ( cpputCorrectExceptionThrown_ ) \
- break; \
+ { break; } \
\
CPPUNIT_NS::Asserter::fail( cpputMsg_, \
CPPUNIT_SOURCELINE() ); \