Add missing RequestPredicate variants in coRouter

Closes gh-32256
This commit is contained in:
Sébastien Deleuze
2024-02-13 14:50:49 +01:00
parent cc6dd19324
commit abe381488a
2 changed files with 78 additions and 8 deletions

View File

@@ -333,7 +333,7 @@ class CoRouterFunctionDslTests {
null
}
}
GET("/**", pathExtension { it == "properties" }) {
GET(pathExtension { it == "properties" }) {
ok().bodyValueAndAwait("foo=bar")
}
path("/baz", ::handle)