forked from mirrors/org-mode
Move test into appropriate file
* testing/lisp/test-org-element.el (test-org-element/org-open-at-point): Remove test. * testing/lisp/test-org.el (test-org/open-at-point): Add test.
This commit is contained in:
parent
b366525077
commit
7dadf85716
|
@ -1479,14 +1479,6 @@ e^{i\\pi}+1=0
|
||||||
(search-forward "file:")
|
(search-forward "file:")
|
||||||
(org-element-property :type (org-element-context))))))
|
(org-element-property :type (org-element-context))))))
|
||||||
|
|
||||||
(ert-deftest test-org-element/org-open-at-point ()
|
|
||||||
"Test `org-open-at-point' with link being a heading property."
|
|
||||||
(org-test-with-temp-text
|
|
||||||
"* Headline
|
|
||||||
:PROPERTIES:
|
|
||||||
:URL: <point>[[info:org#Top]]
|
|
||||||
:END:"
|
|
||||||
(org-open-at-point)))
|
|
||||||
|
|
||||||
;;;; Macro
|
;;;; Macro
|
||||||
|
|
||||||
|
|
|
@ -1013,6 +1013,17 @@ drops support for Emacs 24.1 and 24.2."
|
||||||
(concat "http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query="
|
(concat "http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query="
|
||||||
"\"Release 8.2\"&idxname=emacs-orgmode")))))
|
"\"Release 8.2\"&idxname=emacs-orgmode")))))
|
||||||
|
|
||||||
|
;;;; Open at point
|
||||||
|
|
||||||
|
(ert-deftest test-org/open-at-point ()
|
||||||
|
"Test `org-open-at-point' with link being a heading property."
|
||||||
|
(org-test-with-temp-text
|
||||||
|
"* Headline
|
||||||
|
:PROPERTIES:
|
||||||
|
:URL: <point>[[info:org#Top]]
|
||||||
|
:END:"
|
||||||
|
(org-open-at-point)))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;; Node Properties
|
;;; Node Properties
|
||||||
|
|
Loading…
Reference in New Issue