Skip to content

Commit bbc1d70

Browse files
authored
Add more missing tests for collections
1 parent 7b3de21 commit bbc1d70

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

jsoniter-scala-macros/shared/src/test/scala-2.13/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMakerNewTypeSpec.scala

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ class JsonCodecMakerNewTypeSpec extends VerifyingSpec {
1010
verifySerDeser(make[_root_.scala.collection.mutable.CollisionProofHashMap[String, Int]],
1111
_root_.scala.collection.mutable.CollisionProofHashMap[String, Int]("WWW" -> 1, "VVV" -> 2),
1212
"""{"WWW":1,"VVV":2}""")
13+
verifySerDeser(make[_root_.scala.collection.immutable.TreeSeqMap[String, Int]],
14+
_root_.scala.collection.immutable.TreeSeqMap[String, Int]("WWW" -> 1, "VVV" -> 2),
15+
"""{"WWW":1,"VVV":2}""")
16+
verifySerDeser(make[_root_.scala.collection.immutable.VectorMap[String, Int]],
17+
_root_.scala.collection.immutable.VectorMap[String, Int]("WWW" -> 1, "VVV" -> 2),
18+
"""{"WWW":1,"VVV":2}""")
1319
}
1420
}
15-
}
21+
}

0 commit comments

Comments
 (0)