We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b32e5a + 80de210 commit 94db22bCopy full SHA for 94db22b
src/test/kotlin/in/rcard/assertj/arrowcore/EitherAssert_hasLeftValueSatisfying_Test.kt
@@ -29,9 +29,9 @@ internal class EitherAssert_hasLeftValueSatisfying_Test {
29
@Test
30
internal fun `should fail if consumer fails`() {
31
val actual: Either<Int, String> = Either.Left(42)
32
- Assertions.assertThatThrownBy { EitherAssert.assertThat(actual).hasRightValueSatisfying { assertThat(it).isEqualTo(24) } }
+ Assertions.assertThatThrownBy { EitherAssert.assertThat(actual).hasLeftValueSatisfying { assertThat(it).isEqualTo(24) } }
33
.isInstanceOf(AssertionError::class.java)
34
- .hasMessage(("\nexpected: \"24\"\n but was: \"42\""))
+ .hasMessage(("\nexpected: 24\n but was: 42"))
35
}
36
37
0 commit comments