diff options
Diffstat (limited to 'tests/auto/declarative/behaviors')
-rw-r--r-- | tests/auto/declarative/behaviors/tst_behaviors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/behaviors/tst_behaviors.cpp b/tests/auto/declarative/behaviors/tst_behaviors.cpp index 7bdc82e..29c631d 100644 --- a/tests/auto/declarative/behaviors/tst_behaviors.cpp +++ b/tests/auto/declarative/behaviors/tst_behaviors.cpp @@ -229,7 +229,7 @@ void tst_behaviors::reassignedAnimation() rect->setState("moved"); QTest::qWait(200 + 100); qreal x = qobject_cast<QmlGraphicsRectangle*>(rect->findChild<QmlGraphicsRectangle*>("MyRect"))->x(); - QVERIFY(x > 0 && x < 200); //i.e. the right behavior has been triggered + QCOMPARE(x, qreal(200)); //i.e. the right behavior has been triggered } QTEST_MAIN(tst_behaviors) |