Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSlashDot (0.04 sec)

  1. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("/.....a/..b", simplifyPath("/.....a/..b"));
        assertEquals("..../....", simplifyPath("..../...."));
        assertEquals("..a../..b..", simplifyPath("..a../..b.."));
      }
    
      public void testSlashDot() {
        assertEquals("/", simplifyPath("/."));
      }
    
      // https://github.com/google/guava/issues/722
      public void testInitialSlashDotDot() {
        assertEquals("/c", simplifyPath("/../c"));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top