Skip to content

Commit

Permalink
enable all zio-bson tests on scala 3 (#681)
Browse files Browse the repository at this point in the history
* enable all zio-bson tests on scala 3

* update readme
  • Loading branch information
senia-psm authored May 12, 2024
1 parent 249058a commit 2a14063
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ import zio.schema.codec.BsonSchemaCodecSpec.roundTripTest
import zio.schema.{ DeriveGen, DeriveSchema, Schema }
import zio.test._

/**
* Not supported in scala 3 yet
*/
object BsonSchemaCodecGenericSpec extends ZIOSpecDefault {
case class SimpleGeneric[T](value: T)

Expand Down Expand Up @@ -51,7 +48,7 @@ object BsonSchemaCodecGenericSpec extends ZIOSpecDefault {
implicit def codec[T: Schema]: BsonCodec[GenericRec[T]] = BsonSchemaCodec.bsonCodec(schema)
}

def spec: Spec[TestEnvironment with Scope, Any] = suite("BsonSchemaCodecSpec")(
def spec: Spec[TestEnvironment with Scope, Any] = suite("BsonSchemaCodecGenericSpec")(
suite("round trip")(
roundTripTest("SimpleGeneric[String]")(
DeriveGen.gen[SimpleGeneric[String]],
Expand Down

0 comments on commit 2a14063

Please sign in to comment.