Skip to content

Commit

Permalink
Merge remote-tracking branch 'FasterXML/2.16'
Browse files Browse the repository at this point in the history
  • Loading branch information
k163377 committed Sep 10, 2023
2 parents d6053da + 5d19da3 commit f5d4b7e
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package tools.jackson.module.kotlin.test.github.failing
package tools.jackson.module.kotlin.test.github

import tools.jackson.databind.exc.MismatchedInputException
import tools.jackson.dataformat.xml.XmlMapper
import tools.jackson.module.kotlin.KotlinModule
import tools.jackson.module.kotlin.test.expectFailure
import tools.jackson.module.kotlin.kotlinModule
import kotlin.test.Test
import kotlin.test.assertEquals

class TestGithub396 {
class Github396 {
/**
* Succeeds in Jackson 2.11.x, but fails in Jackson 2.12.0.
* But succeeds again in 2.15.0.
Expand All @@ -17,7 +15,7 @@ class TestGithub396 {
@Test
fun testMissingConstructor() {
val mapper = XmlMapper.builder()
.addModule(KotlinModule())
.addModule(kotlinModule())
.build()

val xml = "<product><stuff></stuff></product>"
Expand Down

0 comments on commit f5d4b7e

Please sign in to comment.