diff options
Diffstat (limited to 'tests/auto/qpointer')
-rw-r--r-- | tests/auto/qpointer/tst_qpointer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qpointer/tst_qpointer.cpp b/tests/auto/qpointer/tst_qpointer.cpp index 7bc5fb6..9f2c0da 100644 --- a/tests/auto/qpointer/tst_qpointer.cpp +++ b/tests/auto/qpointer/tst_qpointer.cpp @@ -185,13 +185,13 @@ void tst_QPointer::dereference_operators() QPointer<tst_QPointer> p1 = this; QObject *object = p1->me(); - QVERIFY(object == this); + QCOMPARE(object, this); QObject &ref = *p1; - QVERIFY(&ref == this); + QCOMPARE(&ref, this); object = static_cast<QObject *>(p1); - QVERIFY(object == this); + QCOMPARE(object, this); } void tst_QPointer::disconnect() |