tst_qpauseanimation: Fix condition in QEXPECT_FAIL.
introduced by b0b22e8d49 .
Change-Id: Ia57331ce9373a414f2bc56962412f20ef83bd7ca
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
bb10
parent
f3df57e7b8
commit
f6723cf0d4
|
|
@ -262,7 +262,7 @@ void tst_QPauseAnimation::pauseResume()
|
|||
QTRY_COMPARE(animation.state(), QAbstractAnimation::Stopped);
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
if (animation.m_updateCurrentTimeCount != 3)
|
||||
if (animation.m_updateCurrentTimeCount < 3)
|
||||
QEXPECT_FAIL("", winTimerError, Abort);
|
||||
#endif
|
||||
QVERIFY2(animation.m_updateCurrentTimeCount >= 3, qPrintable(
|
||||
|
|
|
|||
Loading…
Reference in New Issue