sultan commented on code in PR #845:
URL: https://github.com/apache/maven/pull/845#discussion_r1034722190


##########
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java:
##########
@@ -217,13 +217,13 @@ public void testVersionComparing() {
      */
     @Test
     public void testMng5568() {
-        String a = "6.1.0";
+        String a = "6.1H.5-beta"; // this is the unusual version string, with 
'H' in the middle
         String b = "6.1.0rc3";
-        String c = "6.1H.5-beta"; // this is the unusual version string, with 
'H' in the middle
+        String c = "6.1.0";
 
-        checkVersionsOrder(b, a); // classical
-        checkVersionsOrder(b, c); // now b < c, but before MNG-5568, we had b 
> c
-        checkVersionsOrder(a, c);
+        checkVersionsOrder(a, b); // now H < RC as of MNG-7559

Review Comment:
   why not, inlining the vars



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to