浏览代码

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.
Nicolas Goaziou 11 年之前
父节点
当前提交
7dadf85716
共有 2 个文件被更改,包括 11 次插入8 次删除
  1. 0 8
      testing/lisp/test-org-element.el
  2. 11 0
      testing/lisp/test-org.el

+ 0 - 8
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
 

+ 11 - 0
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