diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/scala/CoproductTypeFormats.scala | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/test/scala/CoproductTypeFormats.scala b/src/test/scala/CoproductTypeFormats.scala index f16e4c7..f9b71b8 100644 --- a/src/test/scala/CoproductTypeFormats.scala +++ b/src/test/scala/CoproductTypeFormats.scala @@ -31,10 +31,10 @@ class CoproductTypeFormats """{"type":"Plus","lhs":{"type":"Value","x":42},"rhs":{"type":"Value","x":0}}""" ) - // "Case object child" should behave like checkCoherence[Expr]( - // One, - // """{"type":"One"}""" - // ) + "Case object child" should behave like checkCoherence[Expr]( + One, + """"One"""" + ) @gadt("kind") sealed abstract class Keyword(`type`: String) @@ -45,7 +45,6 @@ class CoproductTypeFormats """{"kind":"If","type":"class"}""" ) - @enum sealed trait Enum case object A extends Enum case object B extends Enum |