Skip to content

Commit

Permalink
Bumped gradle to 5.51
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Aug 16, 2019
1 parent 5a5eb16 commit d28f4ee
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import io.kotlintest.shouldBe
import io.kotlintest.shouldThrow
import org.junit.ComparisonFailure
import org.junit.Test

class JUnit4AssertionsTest {
@Test
fun `String shouldBe uses ComparisonFailure in JUnit4`() {
shouldThrow<ComparisonFailure> {
"a" shouldBe "b"
}.let {
it.actual shouldBe "\"a\""
it.expected shouldBe "\"b\""
}
}
}

0 comments on commit d28f4ee

Please sign in to comment.