Skip to content

Commit

Permalink
fix scala2
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 committed Sep 10, 2024
1 parent 63c9974 commit 3eb04a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio-http/jvm/src/test/scala/zio/http/RoutesSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ object RoutesSpec extends ZIOHttpSpec {
} yield Response.text(s"Int: $intDep, Long: $longDep")
}

val routesWithAspect = Routes(routeWithMultipleDeps).applyContextAspect[Int, Long](authContext)
val routesWithAspect = Routes(routeWithMultipleDeps).@@[Int with Long](authContext)

for {
result <- routesWithAspect
Expand Down

0 comments on commit 3eb04a8

Please sign in to comment.