summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2014-06-01 13:35:48 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2014-06-01 13:37:11 +0200
commit7dadf85716a37020735a0d7823dd59ac90afb061 (patch)
treefc428e0259a6716ee72c1eae632fcff1ec885cc8
parentb3665250778fc6c14411d71aa305fd3f312042c9 (diff)
downloadorg-mode-7dadf85716a37020735a0d7823dd59ac90afb061.tar.gz
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.
-rw-r--r--testing/lisp/test-org-element.el8
-rw-r--r--testing/lisp/test-org.el11
2 files changed, 11 insertions, 8 deletions
diff --git a/testing/lisp/test-org-element.el b/testing/lisp/test-org-element.el
index ee40585..d3a5428 100644
--- a/testing/lisp/test-org-element.el
+++ b/testing/lisp/test-org-element.el
@@ -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
diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el
index ce87226..e95bfcf 100644
--- a/testing/lisp/test-org.el
+++ b/testing/lisp/test-org.el
@@ -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