commit | 50aa0bc0434c8af90b2440dd9e6cb128c32c911f | [log] [tgz] |
---|---|---|
author | Gabriel Peal <gpeal@users.noreply.github.com> | Mon Jun 27 09:04:18 2022 -0700 |
committer | GitHub <noreply@github.com> | Mon Jun 27 09:04:18 2022 -0700 |
tree | 4da0d218032795dd2cb2cd7c1c22e56d346a4ddc | |
parent | 8939a349653e98393f0d8e7116c079a3d0941a6f [diff] |
Fix WalkthroughAnimationTest (#2101) Fixes #2094
diff --git a/sample-compose/src/androidTest/java/com/airbnb/lottie/samples/WalkthroughAnimationTest.kt b/sample-compose/src/androidTest/java/com/airbnb/lottie/samples/WalkthroughAnimationTest.kt index 6bdb3f5..08a7a4e 100644 --- a/sample-compose/src/androidTest/java/com/airbnb/lottie/samples/WalkthroughAnimationTest.kt +++ b/sample-compose/src/androidTest/java/com/airbnb/lottie/samples/WalkthroughAnimationTest.kt
@@ -21,7 +21,7 @@ @Test fun testWalkthroughCompletes() { val composition = LottieCompositionFactory.fromRawResSync(composeTestRule.activity, R.raw.walkthrough).value!! - var animationCompleted = true + var animationCompleted = false composeTestRule.setContent { val progress by animateLottieCompositionAsState(composition, iterations = 1)