We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a03ad4 commit f4d65c7Copy full SHA for f4d65c7
google-http-client/src/test/java/com/google/api/client/http/HttpRequestTest.java
@@ -1090,7 +1090,7 @@ public LowLevelHttpResponse execute() throws IOException {
1090
1091
public void testVersion() {
1092
assertNotNull("version constant should not be null", HttpRequest.VERSION);
1093
- Pattern semverPattern = Pattern.compile("\\d+\\.\\d+\\.\\d+(-SNAPSHOT)?");
+ Pattern semverPattern = Pattern.compile("\\d+\\.\\d+\\.\\d+(-sp\\.\\d+)?(-SNAPSHOT)?");
1094
assertTrue(semverPattern.matcher(HttpRequest.VERSION).matches());
1095
}
1096
0 commit comments