Merge "Fix TestUnfoldProgressListener when there are no progress" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
73359104ba
@@ -126,7 +126,7 @@ class TestUnfoldProgressListener : UnfoldTransitionProgressProvider.TransitionPr
|
||||
}
|
||||
|
||||
fun assertLastProgress(progress: Float) {
|
||||
waitForCondition { progress == progressHistory.last() }
|
||||
waitForCondition { progress == progressHistory.lastOrNull() }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user