Skip to content

Commit

Permalink
Add test that 3.8.2 should not be updated to 4.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Apr 16, 2017
1 parent 19c8f53 commit 713f008
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test/java/org/jabref/logic/util/VersionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,13 @@ public void stableShouldNotBeUpdatedToAlpha() {
assertFalse(stable.shouldBeUpdatedTo(alpha));
}

@Test
public void stableShouldNotBeUpdatedToBeta() {
Version stable = Version.parse("3.8.2");
Version beta = Version.parse("4.0-beta");
assertFalse(stable.shouldBeUpdatedTo(beta));
}

@Test
public void alphaShouldBeUpdatedToStables() {
Version alpha = Version.parse("2.8-alpha");
Expand Down

0 comments on commit 713f008

Please sign in to comment.