Skip to content

File tree

1 file changed

+1
-2
lines changed
  • src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/failing

1 file changed

+1
-2
lines changed

src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/failing/Github474.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package com.fasterxml.jackson.module.kotlin.test.github.failing
33
import com.fasterxml.jackson.annotation.JsonProperty
44
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
55
import com.fasterxml.jackson.module.kotlin.test.expectFailure
6-
import org.junit.ComparisonFailure
76
import org.junit.jupiter.api.Test
87
import kotlin.test.assertEquals
98

@@ -13,7 +12,7 @@ class TestGithub474 {
1312
open class Parent(@JsonProperty("parent-prop") val parent: String)
1413
class Child(@JsonProperty("child-prop") val child: String) : Parent(child)
1514

16-
expectFailure<ComparisonFailure>("GitHub #474 has been fixed!") {
15+
expectFailure<AssertionError>("GitHub #474 has been fixed!") {
1716
assertEquals(
1817
"""{"child-prop":"foo","parent-prop":"foo"}""",
1918
jacksonObjectMapper().writeValueAsString(Child("foo"))

0 commit comments

Comments
 (0)