Skip to content

Commit 4e751c4

Browse files
committed
Remove duplicated tests
1 parent 5a728b1 commit 4e751c4

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

jsoniter-scala-macros/shared/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMakerCompileTimeEvalSpec.scala

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
11
package com.github.plokhotnyuk.jsoniter_scala.macros
22

3-
import com.github.plokhotnyuk.jsoniter_scala.macros.JsonCodecMaker._
43
import org.scalatest.exceptions.TestFailedException
54

65
class JsonCodecMakerCompileTimeEvalSpec extends VerifyingSpec {
76
"JsonCodecMaker.make" should {
8-
"serialize and deserialize ADTs with openapi-like formatting" in {
9-
sealed trait Enum
10-
11-
object EnumValue1 extends Enum
12-
13-
object EnumValue2 extends Enum
14-
15-
verifySerDeser(makeOpenapiLike[Enum], EnumValue1, """{"type":"EnumValue1"}""")
16-
verifySerDeser(makeOpenapiLike[Enum]("hint"), EnumValue2, """{"hint":"EnumValue2"}""")
17-
verifySerDeser(makeOpenapiLike[Enum]("hint", enforce_snake_case), EnumValue1, """{"hint":"enum_value_1"}""")
18-
verifySerDeser(makeOpenapiLikeWithoutDiscriminator[Enum], EnumValue2, """"EnumValue2"""")
19-
}
207
"don't generate codecs when a parameter of the 'make' call depends on not yet compiled code" in {
218
assert(intercept[TestFailedException](assertCompiles {
229
"""object A {

0 commit comments

Comments
 (0)