From 511fa9024e23d1d25410a949e8f099bacab14c6c Mon Sep 17 00:00:00 2001 From: M-Vamshi <21211a05f1@bvrit.ac.in> Date: Mon, 17 Jun 2024 06:43:22 +0530 Subject: [PATCH] fix trailing commas --- zio-http/jvm/src/test/scala/zio/http/RoutePatternSpec.scala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zio-http/jvm/src/test/scala/zio/http/RoutePatternSpec.scala b/zio-http/jvm/src/test/scala/zio/http/RoutePatternSpec.scala index b380f0e090..f3f5a9494a 100644 --- a/zio-http/jvm/src/test/scala/zio/http/RoutePatternSpec.scala +++ b/zio-http/jvm/src/test/scala/zio/http/RoutePatternSpec.scala @@ -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")), ) }, )