Skip to content

Commit

Permalink
Update DefaultTypingMapDeserializerTest.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Dec 4, 2023
1 parent 407d743 commit 15572c8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ class DefaultTypingMapDeserializerTest extends DeserializerTest {
// > `scala.collection.immutable.Map<java.lang.String,java.lang.String>`: Not a subtype
//
// prior the changing MapSerializerModule.scala to use an inner class for MapWrapper

json shouldEqual """{"m":["scala.collection.immutable.Map",{"one":"one","two":"two"}]}"""

val read = mapper.readValue(json, classOf[HasMap])

read shouldEqual map
Expand Down

0 comments on commit 15572c8

Please sign in to comment.