Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testLeadingZerosAreSemanticallyIrrelevant (0.17 sec)

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

        @Test
        void testDelimiters() {
            assertOrder(X_EQ_Y, "1.0", "1-0");
            assertOrder(X_EQ_Y, "1.0", "1_0");
            assertOrder(X_EQ_Y, "1.a", "1a");
        }
    
        @Test
        void testLeadingZerosAreSemanticallyIrrelevant() {
            assertOrder(X_EQ_Y, "1", "01");
            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");
        }
    
    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