Skip to content

Commit 94db22b

Browse files
authored
Merge pull request #20 from sFreezer/fix-test
fix test
2 parents 4b32e5a + 80de210 commit 94db22b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/kotlin/in/rcard/assertj/arrowcore/EitherAssert_hasLeftValueSatisfying_Test.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ internal class EitherAssert_hasLeftValueSatisfying_Test {
2929
@Test
3030
internal fun `should fail if consumer fails`() {
3131
val actual: Either<Int, String> = Either.Left(42)
32-
Assertions.assertThatThrownBy { EitherAssert.assertThat(actual).hasRightValueSatisfying { assertThat(it).isEqualTo(24) } }
32+
Assertions.assertThatThrownBy { EitherAssert.assertThat(actual).hasLeftValueSatisfying { assertThat(it).isEqualTo(24) } }
3333
.isInstanceOf(AssertionError::class.java)
34-
.hasMessage(("\nexpected: \"24\"\n but was: \"42\""))
34+
.hasMessage(("\nexpected: 24\n but was: 42"))
3535
}
3636

3737
@Test

0 commit comments

Comments
 (0)