Skip to content

Commit 2123775

Browse files
committed
Reformat with scalafmt 3.8.3
Executed command: scalafmt --non-interactive
1 parent d0ffb3a commit 2123775

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/frontroute/src/test/scala/frontroute/PathMatcherTests.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,17 +206,17 @@ class PathMatcherTests extends TestBase {
206206
}
207207

208208
test("not fixed segment/empty input") {
209-
(!segment("a")).apply(List.empty, List.empty) shouldBe PathMatchResult.NoMatch
209+
!segment("a").apply(List.empty, List.empty) shouldBe PathMatchResult.NoMatch
210210
}
211211

212212
test("not fixed segment/non-matching prefix") {
213-
(!segment("a")).apply(List.empty, List("a", "b")) shouldBe PathMatchResult.Rejected(
213+
!segment("a").apply(List.empty, List("a", "b")) shouldBe PathMatchResult.Rejected(
214214
List("b")
215215
)
216216
}
217217

218218
test("not fixed segment/matching prefix") {
219-
(!segment("a")).apply(List("before"), List("c", "b")) shouldBe PathMatchResult.Match(
219+
!segment("a").apply(List("before"), List("c", "b")) shouldBe PathMatchResult.Match(
220220
(),
221221
List("before"),
222222
List("b")

website/src/main/scala/frontroute/site/layout/PageHeader.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ object PageHeader {
155155

156156
private def moduleLink(
157157
currentPage: Signal[Option[(SiteModule, Page)]]
158-
)(module: SiteModule) =
158+
)(module: SiteModule) =
159159
a(
160160
cls := "border-b-2 px-2 border-transparent flex font-display tracking-wide",
161161
currentPage

0 commit comments

Comments
 (0)