Commit 7a8f22b0 authored by Juanma Barranquero's avatar Juanma Barranquero

* test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://.

parent 0c5f6c6c
Pipeline #2063 passed with stage
in 34 minutes
......@@ -33,11 +33,11 @@
"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)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment