From 7c31061c509ac2feee4233c97769c183301b02bf Mon Sep 17 00:00:00 2001
From: Thijs Broersen <thijsbroersen@gmail.com>
Date: Fri, 29 Nov 2024 01:00:26 +0100
Subject: [PATCH] cleanup

---
 .../test/scala/zio/json/ConfigurableDeriveCodecSpec.scala   | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/zio-json/shared/src/test/scala/zio/json/ConfigurableDeriveCodecSpec.scala b/zio-json/shared/src/test/scala/zio/json/ConfigurableDeriveCodecSpec.scala
index bffa9650..a4224fbc 100644
--- a/zio-json/shared/src/test/scala/zio/json/ConfigurableDeriveCodecSpec.scala
+++ b/zio-json/shared/src/test/scala/zio/json/ConfigurableDeriveCodecSpec.scala
@@ -20,10 +20,6 @@ object ConfigurableDeriveCodecSpec extends ZIOSpecDefault {
 
   case class OptionalField(a: Option[Int])
 
-  case class EmptyMap(a: Map[String, String])
-
-  case class EmptyList(a: List[String])
-
   def spec = suite("ConfigurableDeriveCodecSpec")(
     suite("defaults")(
       suite("string")(
@@ -493,6 +489,7 @@ object ConfigurableDeriveCodecSpec extends ZIOSpecDefault {
           assertTrue(expectedStr.fromJson[EmptyTreeSet].toOption.get == expectedObj, expectedObj.toJson == expectedStr)
         },
         test("for a list") {
+          case class EmptyList(a: List[Int])
           val expectedStr = """{}"""
           val expectedObj = EmptyList(List.empty)
 
@@ -553,6 +550,7 @@ object ConfigurableDeriveCodecSpec extends ZIOSpecDefault {
           )
         },
         test("for a map") {
+          case class EmptyMap(a: Map[String, String])
           val expectedStr = """{}"""
           val expectedObj = EmptyMap(Map.empty)