[maven-resolver] branch MNG-6678 created (now 7923250)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[maven-resolver] branch MNG-6678 created (now 7923250)

michaelo
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch MNG-6678
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git.


      at 7923250  Testcase

This branch includes the following new commits:

     new 7923250  Testcase

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Reply | Threaded
Open this post in threaded view
|

[maven-resolver] 01/01: Testcase

michaelo
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MNG-6678
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git

commit 7923250633fa9ff187412a697cf855a1e56983ea
Author: Michael Osipov <[hidden email]>
AuthorDate: Sat Oct 17 22:39:15 2020 +0200

    Testcase
---
 .../org/eclipse/aether/util/version/GenericVersionRangeTest.java  | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/maven-resolver-util/src/test/java/org/eclipse/aether/util/version/GenericVersionRangeTest.java b/maven-resolver-util/src/test/java/org/eclipse/aether/util/version/GenericVersionRangeTest.java
index 08e9bce..e3dcd30 100644
--- a/maven-resolver-util/src/test/java/org/eclipse/aether/util/version/GenericVersionRangeTest.java
+++ b/maven-resolver-util/src/test/java/org/eclipse/aether/util/version/GenericVersionRangeTest.java
@@ -8,9 +8,9 @@ package org.eclipse.aether.util.version;
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- *
+ *
  *  http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -119,6 +119,10 @@ public class GenericVersionRangeTest
         range = parseValid( "[1,1]" );
         assertContains( range, "1" );
         assertEquals( range, parseValid( range.toString() ) );
+
+        range = parseValid( "[0.0.1-20201017.193515-1]" );
+        assertContains( range, "0.0.1-SNAPSHOT" );
+        assertEquals( range, parseValid( range.toString() ) );
     }
 
     @Test