Introduce failing test case in AntPathMatcherTests
Issue: SPR-12998
This commit is contained in:
parent
a80d0e87a4
commit
c7cdbe126d
|
|
@ -24,6 +24,7 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
|
@ -34,6 +35,7 @@ import static org.junit.Assert.*;
|
|||
* @author Juergen Hoeller
|
||||
* @author Arjen Poutsma
|
||||
* @author Rossen Stoyanchev
|
||||
* @author Sam Brannen
|
||||
*/
|
||||
public class AntPathMatcherTests {
|
||||
|
||||
|
|
@ -427,6 +429,12 @@ public class AntPathMatcherTests {
|
|||
assertEquals("/hotel/booking", pathMatcher.combine("/hotel/", "/booking")); // SPR-12975
|
||||
}
|
||||
|
||||
@Ignore("Disabled until SPR-12998 is resolved")
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void combineWithTwoFileExtensionPatterns() {
|
||||
pathMatcher.combine("/*.html", "/*.txt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void patternComparator() {
|
||||
Comparator<String> comparator = pathMatcher.getPatternComparator("/hotels/new");
|
||||
|
|
|
|||
Loading…
Reference in New Issue