diff --git a/result4k/kotest/src/test/kotlin/dev/forkhandles/result4k/kotest/MatchersTest.kt b/result4k/kotest/src/test/kotlin/dev/forkhandles/result4k/kotest/MatchersTest.kt index 719984b..4d7070e 100644 --- a/result4k/kotest/src/test/kotlin/dev/forkhandles/result4k/kotest/MatchersTest.kt +++ b/result4k/kotest/src/test/kotlin/dev/forkhandles/result4k/kotest/MatchersTest.kt @@ -7,6 +7,7 @@ import dev.forkhandles.result4k.Failure import dev.forkhandles.result4k.Success import io.kotest.matchers.shouldBe import org.junit.jupiter.api.Assertions.assertEquals +import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertDoesNotThrow import org.junit.jupiter.api.assertThrows @@ -77,6 +78,12 @@ class MatchersTest { } } + @Test + @Disabled // Comment out to check it manually + fun `check IntelliJ is showing diff window`() { + Success("Actual value").shouldBeSuccess("Expected value") + } + private fun throwsAssertionError(message: String, block: () -> Unit) = assertThrows { block() }.also { assertThat(it.message, present(equalTo(message)))