]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://.
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 15 Jun 2019 03:29:03 +0000 (05:29 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 15 Jun 2019 03:29:03 +0000 (05:29 +0200)
test/lisp/url/url-file-tests.el

index 45af1bba95d83891a45b48c0762c525ee6b60b97..84b7c3a70b0fb175e4b12551914feee12578f527 100644 (file)
   "Directory for url-file test files.")
 
 (ert-deftest url-file ()
-  "Test reading file via file:// URL."
+  "Test reading file via file:/// URL."
   (let ((file (expand-file-name "file.txt" url-file-tests-data-directory)))
     (should (equal
              (with-current-buffer
-                 (url-file (url-generic-parse-url (concat "file://" file))
+                 (url-file (url-generic-parse-url (concat "file:///" file))
                            #'ignore nil)
                (prog1 (buffer-substring (point) (point-max))
                  (kill-buffer)))