diff options
Diffstat (limited to 'jetty-http/src/test/java/org/eclipse/jetty/http/PathMapTest.java')
-rw-r--r-- | jetty-http/src/test/java/org/eclipse/jetty/http/PathMapTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/PathMapTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/PathMapTest.java index 36e9b2e158..65481f1435 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/PathMapTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/PathMapTest.java @@ -138,6 +138,8 @@ public class PathMapTest assertTrue("!match *.foo", !PathMap.match("*.foo", "anything.bar")); assertEquals("match / with ''", "10", p.getMatch("/").getValue()); + + assertTrue("match \"\"", PathMap.match("", "/")); } /** |