Skip to content

Commit b3cc08f

Browse files
committed
Update CaseClassDeserializerTest.scala
1 parent ece4c8a commit b3cc08f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/scala/tools/jackson/module/scala/deser/CaseClassDeserializerTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class CaseClassDeserializerTest extends DeserializerTest {
213213
it should "fail when deserializing null input for list if FAIL_ON_NULL_CREATOR_PROPERTIES enabled" in {
214214
val input = """{}"""
215215
val mapper = newBuilder.enable(DeserializationFeature.FAIL_ON_NULL_CREATOR_PROPERTIES).build()
216-
intercept[com.fasterxml.jackson.databind.exc.MismatchedInputException] {
216+
intercept[tools.jackson.databind.exc.MismatchedInputException] {
217217
mapper.readValue(input, classOf[ListHolder[String]])
218218
}
219219
}
@@ -252,7 +252,7 @@ class CaseClassDeserializerTest extends DeserializerTest {
252252
it should "fail when deserializing null input for map if FAIL_ON_NULL_CREATOR_PROPERTIES enabled" in {
253253
val input = """{}"""
254254
val mapper = newBuilder.enable(DeserializationFeature.FAIL_ON_NULL_CREATOR_PROPERTIES).build()
255-
intercept[com.fasterxml.jackson.databind.exc.MismatchedInputException] {
255+
intercept[tools.jackson.databind.exc.MismatchedInputException] {
256256
mapper.readValue(input, classOf[MapHolder[Int, String]])
257257
}
258258
}

0 commit comments

Comments
 (0)