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
Friedemann Kleint 2014-01-29 16:34:03 +01:00 committed by The Qt Project
parent f3df57e7b8
commit f6723cf0d4
1 changed files with 1 additions and 1 deletions

View File

@ -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(