Skip to content

Commit

Permalink
Add implicit type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
amilshtein committed Jun 28, 2023
1 parent 1b5e49c commit fdf5ce0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/scala/org/http4s/finagle/FinagleSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ import org.scalacheck.Prop._
import com.twitter.finagle.http.RequestBuilder
import cats.effect.unsafe.implicits.{global => runtime}

import scala.concurrent.ExecutionContext

class FinagleSpec extends munit.FunSuite with munit.ScalaCheckSuite {
implicit val ec = runtime.compute
implicit val ec: ExecutionContext = runtime.compute
val service = Finagle.mkService{HttpRoutes.of[IO] {
case req @ _ -> Root / "echo" => Ok(req.as[String])
case GET -> Root / "simple" => Ok("simple path")
Expand Down

0 comments on commit fdf5ce0

Please sign in to comment.