Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testTrailingSlash (0.13 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/path/DefaultUrlNormalizerTest.java

        private String normalize(String url) {
            return normalizer.normalize(url);
        }
    
        @Test
        void testNullSafe() {
            assertNull(normalize(null));
        }
    
        @Test
        void testTrailingSlash() {
            assertEquals("", normalize(""));
            assertEquals("http://server.org/dir", normalize("http://server.org/dir"));
            assertEquals("http://server.org/dir/", normalize("http://server.org/dir/"));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top