Skip to content

Commit 3e8055f

Browse files
committed
1 parent b1d0761 commit 3e8055f

File tree

1 file changed

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

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package com.fasterxml.jackson.module.kotlin._ported.test.github.failing
22

33
import com.fasterxml.jackson.databind.ObjectMapper
4-
import com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException
5-
import com.fasterxml.jackson.module.kotlin._ported.test.expectFailure
64
import com.fasterxml.jackson.module.kotlin.kotlinModule
75
import com.fasterxml.jackson.module.kotlin.readValue
86
import org.junit.jupiter.api.Assertions.assertEquals
@@ -21,10 +19,8 @@ class OwnerRequestTest {
2119

2220
@Test
2321
fun testDeserHit340() {
24-
expectFailure<UnrecognizedPropertyException>("GitHub #340 has been fixed!") {
25-
val value: IsField = jackson.readValue(json)
26-
assertEquals("Got a foo", value.foo)
27-
}
22+
val value: IsField = jackson.readValue(json)
23+
assertEquals("Got a foo", value.foo)
2824
}
2925

3026
@Test

0 commit comments

Comments
 (0)