]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix webjump test after recent change
authorStefan Kangas <stefankangas@gmail.com>
Wed, 25 Oct 2023 21:23:45 +0000 (23:23 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 25 Oct 2023 21:26:33 +0000 (23:26 +0200)
* test/lisp/net/webjump-tests.el (webjump-tests-url-fix): Adjust
test after recent change to prefer HTTPS.

test/lisp/net/webjump-tests.el

index 42fa346a8699fa26454bd7b9e503ca8b4ef14446..ffdebf2bb6fe50bb8f5196c793447700a8265cf9 100644 (file)
@@ -58,7 +58,7 @@
 (ert-deftest webjump-tests-url-fix ()
   (should (equal (webjump-url-fix nil) ""))
   (should (equal (webjump-url-fix "/tmp/") "file:///tmp/"))
-  (should (equal (webjump-url-fix "gnu.org") "http://gnu.org/"))
+  (should (equal (webjump-url-fix "gnu.org") "https://gnu.org/"))
   (should (equal (webjump-url-fix "ftp.x.org") "ftp://ftp.x.org/"))
   (should (equal (webjump-url-fix "https://gnu.org")
                  "https://gnu.org/")))