=htp fix UnsupportedOperationException in PathMatchers.valueMap2PathMatcher
This commit is contained in:
parent
2630742885
commit
f7d7a289f3
2 changed files with 15 additions and 1 deletions
|
|
@ -94,6 +94,11 @@ class PathDirectivesSpec extends RoutingSpec {
|
|||
"reject [/black]" in test()
|
||||
}
|
||||
|
||||
"pathPrefix(Map.empty)" should {
|
||||
val test = testFor(pathPrefix(Map[String, Int]()) { echoCaptureAndUnmatchedPath })
|
||||
"reject [/black]" in test()
|
||||
}
|
||||
|
||||
"pathPrefix(Segment)" should {
|
||||
val test = testFor(pathPrefix(Segment) { echoCaptureAndUnmatchedPath })
|
||||
"accept [/abc]" in test("abc:")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue