File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/test/kotlin/com/fasterxml/jackson/module/kotlin/_ported/test/github/failing Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
package com.fasterxml.jackson.module.kotlin._ported.test.github.failing
2
2
3
3
import com.fasterxml.jackson.databind.ObjectMapper
4
- import com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException
5
- import com.fasterxml.jackson.module.kotlin._ported.test.expectFailure
6
4
import com.fasterxml.jackson.module.kotlin.kotlinModule
7
5
import com.fasterxml.jackson.module.kotlin.readValue
8
6
import org.junit.jupiter.api.Assertions.assertEquals
@@ -21,10 +19,8 @@ class OwnerRequestTest {
21
19
22
20
@Test
23
21
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)
28
24
}
29
25
30
26
@Test
You can’t perform that action at this time.
0 commit comments