From abec4055b2c61d1e80a108084e345b17a8469d5c Mon Sep 17 00:00:00 2001 From: scala-steward Date: Fri, 27 Mar 2026 00:15:02 +0000 Subject: [PATCH] Update scalatest to 3.2.20 --- .../src/sbt-test/sbt-openapi-codegen/nifi_test/build.sbt | 3 +-- .../sbt-openapi-codegen/oneOf-json-roundtrip-zio/build.sbt | 2 +- .../sbt-openapi-codegen/oneOf-json-roundtrip/build.sbt | 2 +- .../oneOf-json-roundtrip_jsoniter/build.sbt | 3 +-- .../oneOf-json-roundtrip_jsoniter_scala3/build.sbt | 3 +-- .../sbt-openapi-codegen/oneOf-json-roundtrip_scala3/build.sbt | 3 +-- .../src/sbt-test/sbt-openapi-codegen/petstore/build.sbt | 3 +-- 7 files changed, 7 insertions(+), 12 deletions(-) diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/nifi_test/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/nifi_test/build.sbt index 669249d973..3d30923d81 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/nifi_test/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/nifi_test/build.sbt @@ -21,14 +21,13 @@ libraryDependencies ++= Seq( "com.beachape" %% "enumeratum-circe" % "1.9.0", "com.github.geirolz" %% "cats-xml" % catsXmlVersion, "com.github.geirolz" %% "cats-xml-generic" % catsXmlVersion, - "org.scalatest" %% "scalatest" % "3.2.19" % Test, + "org.scalatest" %% "scalatest" % "3.2.20" % Test, "com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % tapirVersion % Test ) import scala.io.Source import scala.util.Using - TaskKey[Unit]("check") := { def check(generatedFileName: String, expectedFileName: String) = { val generatedCode = diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip-zio/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip-zio/build.sbt index 274b90a575..c3426e9afe 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip-zio/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip-zio/build.sbt @@ -10,7 +10,7 @@ libraryDependencies ++= Seq( "com.softwaremill.sttp.tapir" %% "tapir-json-zio" % "1.11.16", "com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % "1.11.16", "com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % "0.11.10", - "org.scalatest" %% "scalatest" % "3.2.19" % Test, + "org.scalatest" %% "scalatest" % "3.2.20" % Test, "com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % "1.11.16" % Test ) openapiGenerateEndpointTypes := true diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip/build.sbt index 64bcf794dc..319a96dd3c 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip/build.sbt @@ -18,7 +18,7 @@ libraryDependencies ++= Seq( "io.circe" %% "circe-generic" % "0.14.15", "com.beachape" %% "enumeratum" % "1.9.0", "com.beachape" %% "enumeratum-circe" % "1.9.0", - "org.scalatest" %% "scalatest" % "3.2.19" % Test, + "org.scalatest" %% "scalatest" % "3.2.20" % Test, "com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % tapirVersion % Test ) diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter/build.sbt index b2b77f8a5e..4879739327 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter/build.sbt @@ -23,7 +23,7 @@ libraryDependencies ++= Seq( "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-circe" % jsoniterScalaVersion, "com.github.geirolz" %% "cats-xml" % catsXmlVersion, "com.github.geirolz" %% "cats-xml-generic" % catsXmlVersion, - "org.scalatest" %% "scalatest" % "3.2.19" % Test, + "org.scalatest" %% "scalatest" % "3.2.20" % Test, "com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % tapirVersion % Test ) @@ -47,7 +47,6 @@ def compare(name: String, genFn: String, expFn: String) = { } - TaskKey[Unit]("check") := { compare("endpoints", s"${sourceManaged.value}/main/sbt-openapi-codegen/TapirGeneratedEndpoints.scala", "Expected.scala.txt") compare( diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter_scala3/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter_scala3/build.sbt index 8b3a4a5466..75f4be69dc 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter_scala3/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter_scala3/build.sbt @@ -20,7 +20,7 @@ libraryDependencies ++= Seq( "co.fs2" %% "fs2-core" % "3.12.2", "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-core" % "2.38.9", "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-macros" % "2.38.9" % "compile-internal", - "org.scalatest" %% "scalatest" % "3.2.19" % Test, + "org.scalatest" %% "scalatest" % "3.2.20" % Test, "com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % "1.10.0" % Test, "com.softwaremill.sttp.client3" %% "http4s-backend" % "3.11.0" % Test ) @@ -45,7 +45,6 @@ def compare(name: String, genFn: String, expFn: String) = { } - TaskKey[Unit]("check") := { compare("endpoints", s"${sourceManaged.value}/main/sbt-openapi-codegen/TapirGeneratedEndpoints.scala", "Expected.scala.txt") compare( diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_scala3/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_scala3/build.sbt index a4e0dba37f..41fb5509a2 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_scala3/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_scala3/build.sbt @@ -12,7 +12,7 @@ libraryDependencies ++= Seq( "io.circe" %% "circe-generic" % "0.14.15", "org.latestbit" %% "circe-tagged-adt-codec" % "0.11.0", "io.github.bishabosha" %% "enum-extensions" % "0.1.1", - "org.scalatest" %% "scalatest" % "3.2.19" % Test, + "org.scalatest" %% "scalatest" % "3.2.20" % Test, "com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % "1.11.16" % Test ) openapiGenerateEndpointTypes := true @@ -20,7 +20,6 @@ openapiGenerateEndpointTypes := true import scala.io.Source import scala.util.Using - TaskKey[Unit]("check") := { val generatedCode = Using(Source.fromFile(s"${sourceManaged.value}/main/sbt-openapi-codegen/TapirGeneratedEndpoints.scala"))( diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/petstore/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/petstore/build.sbt index 548ae087c4..8081197e37 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/petstore/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/petstore/build.sbt @@ -19,14 +19,13 @@ libraryDependencies ++= Seq( "com.beachape" %% "enumeratum-circe" % "1.9.0", "com.github.geirolz" %% "cats-xml" % catsXmlVersion, "com.github.geirolz" %% "cats-xml-generic" % catsXmlVersion, - "org.scalatest" %% "scalatest" % "3.2.19" % Test, + "org.scalatest" %% "scalatest" % "3.2.20" % Test, "com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % "1.11.16" % Test ) import scala.io.Source import scala.util.Using - TaskKey[Unit]("check") := { def check(generatedFileName: String, expectedFileName: String) = { val generatedCode =