Test for SPR-5362

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@629 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Arjen Poutsma 2009-02-13 10:32:22 +00:00
parent 9a190aa183
commit f7a6d46de1
1 changed files with 3 additions and 0 deletions

View File

@ -343,6 +343,9 @@ public class AntPathMatcherTests {
assertEquals(-1, comparator.compare("/hotels/{hotel}", "/hotels/*"));
assertEquals(1, comparator.compare("/hotels/*", "/hotels/{hotel}"));
assertEquals(-1, comparator.compare("/hotels/*","/hotels/*/**"));
assertEquals(1, comparator.compare("/hotels/*/**", "/hotels/*"));
}
@Test