aboutsummaryrefslogtreecommitdiffstats
path: root/api/src/test/java/org/semver/VersionTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/test/java/org/semver/VersionTest.java')
-rwxr-xr-xapi/src/test/java/org/semver/VersionTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/test/java/org/semver/VersionTest.java b/api/src/test/java/org/semver/VersionTest.java
index 8797b22..9ba6e2d 100755
--- a/api/src/test/java/org/semver/VersionTest.java
+++ b/api/src/test/java/org/semver/VersionTest.java
@@ -46,9 +46,11 @@ public class VersionTest {
public void shouldValidVersionBeParsed() {
Version.parse("1.2");
Version.parse("1.2.3");
+ Version.parse("10.20.30");
Version.parse("1.2.3beta");
Version.parse("1.2.3.DEV");
Version.parse("1.2.3.DEV-SNAPSHOT");
+ Version.parse("1.2-SNAPSHOT");
Version.parse("1.2.3-SNAPSHOT");
Version.parse("1.2.3-RC-SNAPSHOT");
Version.parse("1.2-RC-SNAPSHOT");