Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testTrailingZerosAreSemanticallyIrrelevant (0.29 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

            assertOrder(X_EQ_Y, "1.2", "1.002");
            assertOrder(X_EQ_Y, "1.2.3", "1.2.0003");
            assertOrder(X_EQ_Y, "1.2.3.4", "1.2.3.00004");
        }
    
        @Test
        void testTrailingZerosAreSemanticallyIrrelevant() {
            assertOrder(X_EQ_Y, "1", "1.0.0.0.0.0.0.0.0.0.0.0.0.0");
            assertOrder(X_EQ_Y, "1", "1-0-0-0-0-0-0-0-0-0-0-0-0-0");
            assertOrder(X_EQ_Y, "1", "1.0-0.0-0.0-0.0-0.0-0.0-0.0");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top