aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qquicktext/tst_qquicktext.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/declarative/qquicktext/tst_qquicktext.cpp b/tests/auto/declarative/qquicktext/tst_qquicktext.cpp
index a8852fbc9f..88ac3126d3 100644
--- a/tests/auto/declarative/qquicktext/tst_qquicktext.cpp
+++ b/tests/auto/declarative/qquicktext/tst_qquicktext.cpp
@@ -1334,8 +1334,7 @@ void tst_qquicktext::lineHeight()
qreal h = myText->height();
myText->setLineHeight(1.5);
- QEXPECT_FAIL("", "QTBUG-21009 fails", Continue);
- QVERIFY(myText->height() == h * 1.5);
+ QVERIFY(myText->height() == qCeil(h * 1.5));
myText->setLineHeightMode(QQuickText::FixedHeight);
myText->setLineHeight(20);