summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-03-14 23:11:26 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2013-03-14 23:11:26 +0100
commitc66641e1eafed04719cdacba05c65ae62a1e1158 (patch)
tree723fea162103934bae4aad7e5dda9af6b62f0dd2
parent3ec38f5c064c3270f54876ba33c5ca1097b46853 (diff)
downloadorg-mode-c66641e1eafed04719cdacba05c65ae62a1e1158.tar.gz
Add test related to a5a676e6092898895b61c00229e07910507f8f0c
* testing/lisp/test-org-element.el: Add test.
-rw-r--r--testing/lisp/test-org-element.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/lisp/test-org-element.el b/testing/lisp/test-org-element.el
index cfb66e8..1294dc8 100644
--- a/testing/lisp/test-org-element.el
+++ b/testing/lisp/test-org-element.el
@@ -2748,6 +2748,12 @@ Paragraph \\alpha."
(org-test-with-temp-text "#+DATE: {{{macro}}}"
(progn (search-forward "{")
(org-element-type (org-element-context))))))
+ ;; Do not find objects in table rules.
+ (should
+ (eq 'table-row
+ (org-test-with-temp-text "| a | b |\n+---+---+\n| c | d |"
+ (forward-line)
+ (org-element-type (org-element-context)))))
;; Find objects in parsed affiliated keywords.
(should
(eq 'macro