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:
Nicolas Goaziou 2014-06-01 13:35:48 +02:00
parent b366525077
commit 7dadf85716
2 changed files with 11 additions and 8 deletions

View File

@ -1479,14 +1479,6 @@ e^{i\\pi}+1=0
(search-forward "file:")
(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

View File

@ -1013,6 +1013,17 @@ drops support for Emacs 24.1 and 24.2."
(concat "http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query="
"\"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