From 775f6e0578afe2b4d1305a058bd60215e894b826 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Tue, 24 Nov 2020 11:26:53 +0800 Subject: [PATCH] Update test case test35AnimatedImagePlaybackModeReversedBounce --- Tests/Tests/SDAnimatedImageTest.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Tests/SDAnimatedImageTest.m b/Tests/Tests/SDAnimatedImageTest.m index 6a66d8de..ef082285 100644 --- a/Tests/Tests/SDAnimatedImageTest.m +++ b/Tests/Tests/SDAnimatedImageTest.m @@ -700,7 +700,7 @@ static BOOL _isCalled; i--; } - if (cnt > 3) { + if (cnt >= 2) { [expectation fulfill]; // Stop Animation to avoid extra callback [wimageView.player stopPlaying]; @@ -753,7 +753,7 @@ static BOOL _isCalled; i--; } - if (cnt > 3) { + if (cnt >= 2) { [expectation fulfill]; // Stop Animation to avoid extra callback [wimageView.player stopPlaying];