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.
GsonVersionDiagnosticsTest
1 parent 7bca5c4 commit 4705518Copy full SHA for 4705518
gson/src/test/java/com/google/gson/functional/GsonVersionDiagnosticsTest.java
@@ -35,7 +35,7 @@
35
* @author Inderjeet Singh
36
*/
37
public class GsonVersionDiagnosticsTest extends TestCase {
38
- private static final Pattern GSON_VERSION_PATTERN = Pattern.compile("(\\(GSON \\d\\.\\d\\.\\d)(?:[-.][A-Z]+)?\\)$");
+ private static final Pattern GSON_VERSION_PATTERN = Pattern.compile("(\\(GSON \\d\\.\\d+(\\.\\d)?)(?:[-.][A-Z]+)?\\)$");
39
40
private Gson gson;
41
0 commit comments