]> gitweb.factorcode.org Git - factor.git/commitdiff
urls: adding some more test cases for remove-dot-segments.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 15 Mar 2021 20:40:45 +0000 (13:40 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 15 Mar 2021 20:40:45 +0000 (13:40 -0700)
basis/urls/urls-tests.factor

index 89fead985676de2533e95204a71e51af38ba1b0b..a1efa2c25d5e590fb6eeef49f5b6d01ca99121bc 100644 (file)
@@ -411,6 +411,8 @@ urls [
 { URL" https://user:xxxxx@host:1234/path" } [ URL" https://user:password@host:1234/path" redacted-url ] unit-test
 
 {
+    { "/a/b/c"    "./////d"     "/a/b/d"    }
+    { "/a/b/c"    "./././././d" "/a/b/d"    }
     { "/a/b/c"    "/d"          "/d"        }
     { "/a/b/c"    "/./d"        "/d"        }
     { "/a/b/c"    "/../d"       "/d"        }