File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
modules/frontroute/src/test/scala/frontroute
website/src/main/scala/frontroute/site/layout Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -206,17 +206,17 @@ class PathMatcherTests extends TestBase {
206
206
}
207
207
208
208
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
210
210
}
211
211
212
212
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 (
214
214
List (" b" )
215
215
)
216
216
}
217
217
218
218
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 (
220
220
(),
221
221
List (" before" ),
222
222
List (" b" )
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ object PageHeader {
155
155
156
156
private def moduleLink (
157
157
currentPage : Signal [Option [(SiteModule , Page )]]
158
- )(module : SiteModule ) =
158
+ )(module : SiteModule ) =
159
159
a(
160
160
cls := " border-b-2 px-2 border-transparent flex font-display tracking-wide" ,
161
161
currentPage
You can’t perform that action at this time.
0 commit comments