mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-11-16 03:50:33 +00:00
hotfix in InfinityPagedComponent and PagedComponent
This commit is contained in:
@@ -30,8 +30,8 @@ class InfinityPagedComponentTests {
|
||||
}
|
||||
) {
|
||||
if (it == null) {
|
||||
if (this.iterationState.value.second != null) {
|
||||
assertEquals(0, (this.iterationState.value.second as? SimplePagination) ?.page)
|
||||
if (this.iterationState.value != null) {
|
||||
assertEquals(0, (this.iterationState.value as? SimplePagination) ?.page)
|
||||
}
|
||||
} else {
|
||||
assertEquals(expectedList, it)
|
||||
|
||||
Reference in New Issue
Block a user