summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestassert.h
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-09-01 14:24:53 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-01 08:39:37 +0200
commit9c51bd4fc83a2ee5f3e88c49a77e7eb5c50b29da (patch)
tree9b8c3ed2cf78bb398d414f38165c08bca132fff0 /src/testlib/qtestassert.h
parentd90da5d99134a5f89b25c93cfe2d15f4bc5ed0e5 (diff)
Fix various trivial formatting issues.
Change-Id: Ifa2a2dd2aa26dab178ec1334376db42fc3ebb355 Reviewed-on: http://codereview.qt.nokia.com/4029 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/testlib/qtestassert.h')
-rw-r--r--src/testlib/qtestassert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testlib/qtestassert.h b/src/testlib/qtestassert.h
index fa1ee0caec..24edab278d 100644
--- a/src/testlib/qtestassert.h
+++ b/src/testlib/qtestassert.h
@@ -50,9 +50,9 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Test)
-#define QTEST_ASSERT(cond) do {if(!(cond))qt_assert(#cond,__FILE__,__LINE__);} while (0)
+#define QTEST_ASSERT(cond) do { if (!(cond)) qt_assert(#cond,__FILE__,__LINE__); } while (0)
-#define QTEST_ASSERT_X(cond, where, what) do {if(!(cond))qt_assert_x(where, what,__FILE__,__LINE__);} while (0)
+#define QTEST_ASSERT_X(cond, where, what) do { if (!(cond)) qt_assert_x(where, what,__FILE__,__LINE__); } while (0)
QT_END_NAMESPACE