From 581bd758b5929a52b185c61fe80f9542dda80d18 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 13 Apr 2025 12:14:27 +0300 Subject: [PATCH] ; (url-generic-parse-url/ms-windows-file-uri-hanlding): Fix test. (cherry picked from commit c4012904fd87e158a76f9b8017684def3b206a3a) --- test/lisp/url/url-parse-tests.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/lisp/url/url-parse-tests.el b/test/lisp/url/url-parse-tests.el index 16c811da31b..c4c4b2fc8f8 100644 --- a/test/lisp/url/url-parse-tests.el +++ b/test/lisp/url/url-parse-tests.el @@ -185,9 +185,7 @@ (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")) -- 2.39.5