Skip to content

Commit b502dc4

Browse files
authored
Add yet more missing tests for collections
1 parent 7a7eca6 commit b502dc4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ class JsonCodecMakerNewTypeSpec extends VerifyingSpec {
1616
verifySerDeser(make[_root_.scala.collection.immutable.VectorMap[String, Int]],
1717
_root_.scala.collection.immutable.VectorMap[String, Int]("WWW" -> 1, "VVV" -> 2),
1818
"""{"WWW":1,"VVV":2}""")
19+
verifySerDeser(make[_root_.scala.collection.immutable.LazyList[Int]],
20+
_root_.scala.collection.immutable.LazyList[Int](1, 2), """[1,2]""")
21+
verifySerDeser(make[_root_.scala.collection.mutable.Stack[Int]],
22+
_root_.scala.collection.mutable.Stack[Int](1, 2), """[1,2]""")
1923
verifySerDeser(make[_root_.scala.collection.mutable.ArrayDeque[Int]],
2024
_root_.scala.collection.mutable.ArrayDeque[Int](1, 2), """[1,2]""")
2125
verifySer(make[_root_.scala.collection.mutable.PriorityQueue[Int]],

0 commit comments

Comments
 (0)