SLING-6350 - fix one test
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1773079 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/test/java/org/apache/sling/api/resource/path/PathTest.java b/src/test/java/org/apache/sling/api/resource/path/PathTest.java
index fa80b4e..9d60b4e 100644
--- a/src/test/java/org/apache/sling/api/resource/path/PathTest.java
+++ b/src/test/java/org/apache/sling/api/resource/path/PathTest.java
@@ -64,14 +64,12 @@
final Path path_3 = new Path("glob:/a/m-p/$structure/**/[cmp]/*.html");
assertTrue(path_3.matches("/a/m-p/$structure/1/2/3/[cmp]/test.html"));
+ assertTrue(path_3.matches("/a/m-p/$structure/1/2/3/4/5/6/[cmp]/test.html"));
assertTrue(path_3.matches("/a/m-p/$structure/1/[cmp]/test.html"));
assertTrue(path_3.matches("/a/m-p/$structure/1/[cmp]/te-[s]t$.html"));
assertTrue(path_3.matches("/a/m-p/$structure/1/[cmp]/.html"));
assertFalse(path_3.matches("/a/m-p/$structure/1/[cmp]/html"));
assertFalse(path_3.matches("/a/m-p/$structure/[cmp]/test.html"));
-
- // TODO this should be assertTrue?? as per SLING-6350
- assertFalse(path_3.matches("/a/m-p/$structure/1/2/3/4/5/6[cmp]/test.html"));
}
@Test public void testPatternRootMatching() {