Browse Source

test-org.el: Test info link using Emacs info documentation

* test-org.el (test-org/open-at-point-in-property)
(test-org/open-at-point-in-comment)
(test-org/open-at-point/info): Test info link using Emacs info
documentation.
Bastien Guerry 10 năm trước cách đây
mục cha
commit
1f3fefcba5
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      testing/lisp/test-org.el

+ 3 - 3
testing/lisp/test-org.el

@@ -1044,7 +1044,7 @@ drops support for Emacs 24.1 and 24.2."
    (org-test-with-temp-text
     "* Headline
 :PROPERTIES:
-:URL: <point>[[info:org#Top]]
+:URL: <point>[[info:emacs#Top]]
 :END:"
     (org-open-at-point) t)))
 
@@ -1052,14 +1052,14 @@ drops support for Emacs 24.1 and 24.2."
   "Does `org-open-at-point' open link in a commented line?"
   (should
    (org-test-with-temp-text
-    "# <point>[[info:org#Top]]"
+    "# <point>[[info:emacs#Top]]"
     (org-open-at-point) t)))
 
 (ert-deftest test-org/open-at-point/info ()
   "Test `org-open-at-point' on info links."
   (should
    (org-test-with-temp-text
-    "<point>[[info:org#Top]]"
+    "<point>[[info:emacs#Top]]"
     (org-open-at-point)
     (and (switch-to-buffer "*info*")
 	 (prog1