Skip to content

Commit

Permalink
Keep the show instance for error tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daddykotex committed Nov 3, 2022
1 parent 9962f80 commit b699d7a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/tests/src/smithy4s/tests/PizzaClientSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ package smithy4s.tests
import cats.data.Chain
import cats.effect._
import cats.effect.std.UUIDGen
import cats.Show
import cats.syntax.all._
import io.circe.Json
import org.http4s.HttpApp
import org.http4s._
import org.http4s.circe._
import org.http4s.dsl.io._
import org.http4s.HttpApp
import org.typelevel.ci.CIString
import smithy4s.Timestamp
import smithy4s.example._
import smithy4s.Timestamp
import weaver._

abstract class PizzaClientSpec extends IOSuite {
Expand Down Expand Up @@ -173,7 +174,8 @@ abstract class PizzaClientSpec extends IOSuite {
expected: E
)(implicit
loc: SourceLocation,
ct: scala.reflect.ClassTag[E]
ct: scala.reflect.ClassTag[E],
show: Show[E] = Show.fromToString[E]
) = {
clientTest(name) { (client, backend, log) =>
for {
Expand Down

0 comments on commit b699d7a

Please sign in to comment.