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