Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Mar 27, 2019
1 parent eb27420 commit 0aaa446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ class FormCodecDerivationTest extends FlatSpec with Matchers {
|implicitly[Codec[Test5, MediaType.XWwwFormUrlencoded, String]]
|""".stripMargin)

error.message should include("could not find implicit value")
error.message should include("PlainCodecForMany[NoCodecForThisTrait]")
error.message should include("Cannot find a codec for type: NoCodecForThisTrait")
}

it should "use the right schema for a two-arg case class" in {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ class MultipartCodecDerivationTest extends FlatSpec with Matchers {
|implicitly[Codec[Test5, MediaType.MultipartFormData, Seq[RawPart]]]
|""".stripMargin)

error.message should include("could not find implicit value")
error.message should include("CodecForMany[NoCodecForThisTrait")
error.message should include("Cannot find a codec for type: NoCodecForThisTrait")
}

it should "use the right schema for a case class with part metadata" in {
Expand Down

0 comments on commit 0aaa446

Please sign in to comment.