]> git.eshelyaron.com Git - emacs.git/commitdiff
; (url-generic-parse-url/ms-windows-file-uri-hanlding): Fix test.
authorEli Zaretskii <eliz@gnu.org>
Sun, 13 Apr 2025 09:14:27 +0000 (12:14 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 13 Apr 2025 20:59:50 +0000 (22:59 +0200)
(cherry picked from commit c4012904fd87e158a76f9b8017684def3b206a3a)

test/lisp/url/url-parse-tests.el

index 16c811da31b050f66ed47a025c333500bdaabe26..c4c4b2fc8f8923c0da1ab5d3068f8616084068d0 100644 (file)
   (should (equal (url-recreate-url
                   (url-parse-make-urlobj "file" nil nil nil nil
                                          "c:/path/to/file" nil nil nil))
-                 (if (memq system-type '(windows-nt ms-dos))
-                     "file:/c:/path/to/file"
-                   "file:c:/path/to/file")))
+                 "file:/c:/path/to/file"))
   ;; accept backslashes too
   (should (equal (url-filename
                   (url-generic-parse-url "file:///c:\\directory\\file.txt"))