added test: 1.0-SNAPSHOT is not in [1.0,)

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1397916 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Herve Boutemy 2012-10-13 17:46:12 +00:00
parent 78a18e907d
commit 6926782cca
1 changed files with 1 additions and 0 deletions

View File

@ -661,6 +661,7 @@ public class VersionRangeTest
assertTrue( range.containsVersion( new DefaultArtifactVersion( "1.1-SNAPSHOT" ) ) );
assertTrue( range.containsVersion( new DefaultArtifactVersion( "1.2-SNAPSHOT" ) ) );
assertFalse( range.containsVersion( new DefaultArtifactVersion( "1.0-SNAPSHOT" ) ) );
}
public void testSnapshotRangeBoundsCanContainSnapshots()