Skip to content

Commit e8a7d3d

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ class JsonCodecMakerNewTypeSpec extends VerifyingSpec {
8181
verifySerDeser(make[collection.immutable.VectorMap[String, Int]],
8282
collection.immutable.VectorMap[String, Int]("WWW" -> 1, "VVV" -> 2),
8383
"""{"WWW":1,"VVV":2}""")
84+
verifySerDeser(make[collection.immutable.LazyList[Int]],
85+
collection.immutable.LazyList[Int](1, 2), """[1,2]""")
86+
verifySerDeser(make[collection.mutable.Stack[Int]],
87+
collection.mutable.Stack[Int](1, 2), """[1,2]""")
8488
verifySerDeser(make[collection.mutable.ArrayDeque[Int]],
8589
collection.mutable.ArrayDeque[Int](1, 2), """[1,2]""")
8690
verifySer(make[collection.mutable.PriorityQueue[Int]],

0 commit comments

Comments
 (0)