diff options
author | York Zhao <gtdplatform@gmail.com> | 2014-06-01 10:53:19 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2014-06-01 10:53:19 +0200 |
commit | b3665250778fc6c14411d71aa305fd3f312042c9 (patch) | |
tree | c4040c1cf19667d5ff01ae762c79eb09dac2fa43 | |
parent | c00379dc7702f25b8e1990e512dc540caae790d7 (diff) | |
download | org-mode-b3665250778fc6c14411d71aa305fd3f312042c9.tar.gz |
test-org-element.el (test-org-element/org-open-at-point): Add test
* test-org-element.el (test-org-element/org-open-at-point):
Add test.
TINYCHANGE
-rw-r--r-- | testing/lisp/test-org-element.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/lisp/test-org-element.el b/testing/lisp/test-org-element.el index d3a5428..ee40585 100644 --- a/testing/lisp/test-org-element.el +++ b/testing/lisp/test-org-element.el @@ -1479,6 +1479,14 @@ 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 |