Fix ROOT_PATH constant to match recent changes

"/" should be 0 segments, isAbsolute=true, hasTrailingSlash=false
This commit is contained in:
Rossen Stoyanchev
2017-06-15 15:40:32 -04:00
parent ef3e309c12
commit 67e482aaf8
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ public class DefaultPathSegmentContainerTests {
testPath("/a/b/c", "/a/b/c", false, true, Arrays.asList("a", "b", "c"), false);
// root path
testPath("/", "/", false, true, Collections.singletonList(""), false);
testPath("/", "/", false, true, Collections.emptyList(), false);
// empty path
testPath("", "", true, false, Collections.emptyList(), false);