Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConsecutiveParentsAfterPresent (0.09 sec)

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

      public void testInitialSlashDot() {
        assertEquals("/a", simplifyPath("/./a"));
        assertEquals("/.a", simplifyPath("/.a/a/.."));
      }
    
      // https://github.com/google/guava/issues/722
      public void testConsecutiveParentsAfterPresent() {
        assertEquals("../..", simplifyPath("./../../"));
        assertEquals("../..", simplifyPath("./.././../"));
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
    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