diff --git a/releaser-core/src/test/java/releaser/internal/buildsystem/ProjectVersionTests.java b/releaser-core/src/test/java/releaser/internal/buildsystem/ProjectVersionTests.java index eef647d4..f00dc579 100644 --- a/releaser-core/src/test/java/releaser/internal/buildsystem/ProjectVersionTests.java +++ b/releaser-core/src/test/java/releaser/internal/buildsystem/ProjectVersionTests.java @@ -107,11 +107,14 @@ public void should_return_the_previous_version_for_release_train_version() { @Test public void should_return_true_for_a_valid_version() { - then(projectVersion("2020-1.M1").isValid()).isTrue(); + then(projectVersion("2020.0.0-M1").isValid()).isTrue(); + then(projectVersion("2020.0.0-RC2").isValid()).isTrue(); + // then(projectVersion("2020.0.0").isValid()).isTrue(); then(projectVersion("1.0.1.BUILD-SNAPSHOT").isValid()).isTrue(); then(projectVersion("1.0.3.RC1").isValid()).isTrue(); then(projectVersion("1.0.4.M1").isValid()).isTrue(); then(projectVersion("Finchley.BUILD-SNAPSHOT").isValid()).isTrue(); + then(projectVersion("Finchley.RELEASE").isValid()).isTrue(); then(projectVersion("Finchley.SR1").isValid()).isTrue(); }