summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-01-21 11:58:42 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-01-21 11:58:42 +0100
commitade36c4b5032d52194f92d3212cbe79c9cd62f6e (patch)
treeffa6bc5c0b107a6b68f4af178ceaf331cbf5ab21
parent4b3fbeef2bc6fb5ac7c2bed617ce64b1451a8224 (diff)
downloadorg-mode-ade36c4b5032d52194f92d3212cbe79c9cd62f6e.tar.gz
org-element: Fix failing test
* testing/lisp/test-org-element.el (test-org-element/cache): Fix failing test.
-rw-r--r--testing/lisp/test-org-element.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/lisp/test-org-element.el b/testing/lisp/test-org-element.el
index dc33162..8652aad 100644
--- a/testing/lisp/test-org-element.el
+++ b/testing/lisp/test-org-element.el
@@ -3607,9 +3607,9 @@ Text
;; Preserve local structures when re-parenting.
(should
(eq 'table
- (org-test-with-temp-text
- "#+begin_center\nP0\n\n<point>\n\n P1\n | a | b |\n| c | d |\n#+end_center"
- (let ((org-element-use-cache t))
+ (let ((org-element-use-cache t))
+ (org-test-with-temp-text
+ "#+begin_center\nP0\n\n<point>\n\n P1\n | a | b |\n| c | d |\n#+end_center"
(save-excursion (search-forward "| c |") (org-element-at-point))
(insert "- item")
(search-forward "| c |")