summaryrefslogtreecommitdiff
path: root/tests/auto/qsourcelocation/tst_qsourcelocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qsourcelocation/tst_qsourcelocation.cpp')
-rw-r--r--tests/auto/qsourcelocation/tst_qsourcelocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qsourcelocation/tst_qsourcelocation.cpp b/tests/auto/qsourcelocation/tst_qsourcelocation.cpp
index 984da1d..b5b33c7 100644
--- a/tests/auto/qsourcelocation/tst_qsourcelocation.cpp
+++ b/tests/auto/qsourcelocation/tst_qsourcelocation.cpp
@@ -186,7 +186,7 @@ void tst_QSourceLocation::equalnessOperator() const
QFETCH(bool, True);
QCOMPARE(v1 == v2, True);
- QCOMPARE(v1 != v2, True);
+ QCOMPARE(v1 != v2, !True);
}
void tst_QSourceLocation::equalnessOperator_data() const
@@ -273,7 +273,7 @@ void tst_QSourceLocation::constCorrectness() const
QCOMPARE(def, def2);
/* Inverse equalness operator. */
- QVERIFY(def != def2);
+ QVERIFY(!(def != def2));
}
void tst_QSourceLocation::objectSize() const