test: relax test to allow sp versions
@@ -1090,7 +1090,7 @@ public class HttpRequestTest extends TestCase {
public void testVersion() {
assertNotNull("version constant should not be null", HttpRequest.VERSION);
- Pattern semverPattern = Pattern.compile("\\d+\\.\\d+\\.\\d+(-SNAPSHOT)?");
+ Pattern semverPattern = Pattern.compile("\\d+\\.\\d+\\.\\d+(-sp\\.\\d+)?(-SNAPSHOT)?");
assertTrue(semverPattern.matcher(HttpRequest.VERSION).matches());
}
