summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-03-15 10:17:55 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-03-15 10:17:55 (GMT)
commit1ca26a755aa8b0ac2b13513b2b09efc2c2f650ab (patch)
tree1ea46cd0f7f5c12e808bcd17dbcee98243b1385a
parent6ae1718df56c5c44a000a9027514f6f9286f6e15 (diff)
parentc66641e1eafed04719cdacba05c65ae62a1e1158 (diff)
downloadorg-mode-1ca26a755aa8b0ac2b13513b2b09efc2c2f650ab.zip
org-mode-1ca26a755aa8b0ac2b13513b2b09efc2c2f650ab.tar.gz
Merge branch 'master' of orgmode.org:org-mode
-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