You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2021/09/30 19:25:15 UTC

[maven] branch MNG-7277 created (now d4fca0d)

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

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


      at d4fca0d  [MNG-7277] - Wrong Test - testNonNumericVersionRepresentationReturnsANumberFormatException

This branch includes the following new commits:

     new d4fca0d  [MNG-7277] - Wrong Test - testNonNumericVersionRepresentationReturnsANumberFormatException

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.


[maven] 01/01: [MNG-7277] - Wrong Test - testNonNumericVersionRepresentationReturnsANumberFormatException

Posted by kh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit d4fca0d048aa181cc6a1d6bd45d100cad4aaf55e
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Thu Sep 30 21:25:06 2021 +0200

    [MNG-7277] - Wrong Test - testNonNumericVersionRepresentationReturnsANumberFormatException
---
 .../maven/artifact/versioning/DefaultArtifactVersionTest.java  | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java b/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
index aba36bb..fe22843 100644
--- a/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
+++ b/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
@@ -205,16 +205,6 @@ public class DefaultArtifactVersionTest
         assertFalse( newArtifactVersion( "1" ).equals( "non-an-artifact-version-instance" ) );
     }
 
-    @Test
-    @Disabled("That one does not work")
-    public void testNonNumericVersionRepresentationReturnsANumberFormatException()
-    {
-        assertThrows(
-                NumberFormatException.class,
-                () -> new DefaultArtifactVersion( "..." ),
-                "We expect a NumberFormatException to be thrown." );
-    }
-
     private void assertVersionOlder( String left, String right )
     {
         assertTrue(