Skip to content

Commit

Permalink
Merge pull request #1805 from scala-steward/update/circe-core-0.14.6
Browse files Browse the repository at this point in the history
Update circe-core, circe-jawn, circe-parser, ... to 0.14.6
  • Loading branch information
blast-hardcheese committed Oct 10, 2023
2 parents 0c544d3 + b1a5303 commit c1aadd7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Issue148Suite extends AnyFunSuite with Matchers with EitherValues with Sca
.withHeaders(RawHeader("x-header", "false"))
.withEntity(ContentTypes.`application/json`, "{}") ~> route ~> check {
rejection match {
case ex: MalformedRequestContentRejection => ex.message shouldBe "Missing required field: DownField(type)"
case ex: MalformedRequestContentRejection => ex.message shouldBe "DecodingFailure at .type: Missing required field"
}
}

Expand All @@ -95,7 +95,7 @@ class Issue148Suite extends AnyFunSuite with Matchers with EitherValues with Sca
.withHeaders(RawHeader("x-header", "false"))
.withEntity(ContentTypes.`application/json`, """{"type": "blep"}""") ~> route ~> check {
rejection match {
case ex: MalformedRequestContentRejection => ex.message shouldBe "Unknown value blep (valid: Bar): DownField(type)"
case ex: MalformedRequestContentRejection => ex.message shouldBe "DecodingFailure at .type: Unknown value blep (valid: Bar)"
}
}

Expand All @@ -109,7 +109,7 @@ class Issue148Suite extends AnyFunSuite with Matchers with EitherValues with Sca
.withHeaders(RawHeader("x-header", "false"))
.withEntity(ContentTypes.`application/json`, """{"type": "Bar"}""") ~> route ~> check {
rejection match {
case ex: MalformedRequestContentRejection => ex.message shouldBe "Missing required field: DownField(name)"
case ex: MalformedRequestContentRejection => ex.message shouldBe "DecodingFailure at .name: Missing required field"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ class ValidationTest extends AnyFreeSpec with Matchers with EitherValues {
)
.left
.value
.toString
.contains("""DecodingFailure(Predicate failed: "does not match"""") shouldBe true
.toString should include("""Predicate failed: "does not match"""")
}

"should fail if collection elements rejected by the predicate (number)" in {
Expand Down
2 changes: 1 addition & 1 deletion project/src/main/scala/modules/scalaAkkaHttp.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object scalaAkkaHttp {
val akkaHttpVersion = "10.2.10"
val akkaVersion = "2.6.20"
val catsVersion = "2.10.0"
val circeVersion = "0.14.3"
val circeVersion = "0.14.6"
val hibernateVersion = "6.2.5.Final"
val jacksonVersion = "2.15.2"
val javaxAnnotationVersion = "1.3.2"
Expand Down
2 changes: 1 addition & 1 deletion project/src/main/scala/modules/scalaHttp4s.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import sbt.Keys._

object scalaHttp4s {
val catsVersion = "2.10.0"
val circeVersion = "0.14.3"
val circeVersion = "0.14.6"
val javaxAnnotationVersion = "1.3.2"
val jaxbApiVersion = "2.3.1"
val scalatestVersion = "3.2.17"
Expand Down

0 comments on commit c1aadd7

Please sign in to comment.