Skip to content

Commit

Permalink
fix trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 committed Jun 17, 2024
1 parent 0779442 commit 511fa90
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zio-http/jvm/src/test/scala/zio/http/RoutePatternSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -404,11 +404,12 @@ object RoutePatternSpec extends ZIOHttpSpec {
test("anyOf with multiple patterns") {
val routePattern = Method.GET / anyOf("", "index.html", "index.htm")
assertTrue(

routePattern.matches(Method.GET, Path("")),
routePattern.matches(Method.GET, Path("index.html")),
routePattern.matches(Method.GET, Path("index.htm")),
!routePattern.matches(Method.GET, Path("foo"))
!routePattern.matches(Method.POST, Path("index.html"))
!routePattern.matches(Method.GET, Path("foo")),
!routePattern.matches(Method.POST, Path("index.html")),
)
},
)
Expand Down

0 comments on commit 511fa90

Please sign in to comment.