summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/qcomplextext/tst_qcomplextext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/other/qcomplextext/tst_qcomplextext.cpp')
-rw-r--r--tests/auto/other/qcomplextext/tst_qcomplextext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/other/qcomplextext/tst_qcomplextext.cpp b/tests/auto/other/qcomplextext/tst_qcomplextext.cpp
index a9234b7060..1428a63123 100644
--- a/tests/auto/other/qcomplextext/tst_qcomplextext.cpp
+++ b/tests/auto/other/qcomplextext/tst_qcomplextext.cpp
@@ -173,7 +173,7 @@ void tst_QComplexText::bidiCursor_qtbug2795()
qreal x2 = line2.cursorToX(0) - line2.cursorToX(str.size());
// The cursor should remain at the same position after a digit is appended
- QVERIFY(x1 == x2);
+ QCOMPARE(x1, x2);
}
void tst_QComplexText::bidiCursorMovement_data()