Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Commit 66842d1

Browse files
authored
Ensure that zero duration test is testing with zero duration. (#115)
Was testing with a non-zero duration. Is now testing with a zero duration.
1 parent b45a6c4 commit 66842d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/MotionAnimatorTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class MotionAnimatorTests: XCTestCase {
4545

4646
func testCompletionCallbackIsExecutedWithZeroDuration() {
4747
let animator = MotionAnimator()
48-
let traits = MDMAnimationTraits(duration: 1)
48+
let traits = MDMAnimationTraits(duration: 0)
4949

5050
let window = UIWindow()
5151
window.makeKeyAndVisible()

0 commit comments

Comments
 (0)