Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package springfox.documentation.spring.web.paths;
- import org.junit.Test;
- /**
- *
- *
- * @author @nobe0716
- */
- public class PathsBugTest {
- @Test
- public void sanitizeRequestMappingPattern() throws Exception {
- String result = Paths.sanitizeRequestMappingPattern("/{businessId:\\d{3}}:{productId:\\D{3}\\d{3}}");
- assert "/{businessId}:{productId}".equals(result);
- }
- }
Add Comment
Please, Sign In to add comment