File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package com.fasterxml.jackson.module.kotlin.test.github
33import com.fasterxml.jackson.annotation.JsonIdentityInfo
44import com.fasterxml.jackson.annotation.JsonTypeInfo
55import com.fasterxml.jackson.annotation.ObjectIdGenerators
6+ import com.fasterxml.jackson.module.kotlin.defaultMapper
67import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
78import com.fasterxml.jackson.module.kotlin.readValue
89import com.fasterxml.jackson.module.kotlin.testPrettyWriter
@@ -47,7 +48,7 @@ class GitHub281 {
4748
4849 @Test
4950 fun `test reading involving type, id and object` () {
50- val output = jacksonObjectMapper() .readValue<List <NumberValue >>(json)
51+ val output = defaultMapper .readValue<List <NumberValue >>(json)
5152
5253 assertEquals(2 , output.size)
5354 val (a, b) = output
You can’t perform that action at this time.
0 commit comments