Updated on 2026-08-14

This commit is contained in:
Tangem 2025-07-02 16:49:46 +04:00
parent c3da795b23
commit 4104aa82f8
5 changed files with 725 additions and 1 deletions

View file

@ -10,5 +10,6 @@ fun <B> assertEither(actual: Either<Throwable, B>, expected: Either<Throwable, B
val expectedError = expected.leftOrNull() ?: error("Actual is Either.Left: $it")
Truth.assertThat(it::class.java).isEqualTo(expectedError::class.java)
Truth.assertThat(it).hasMessageThat().isEqualTo(expectedError.message)
}
}