Browse Source

org-element: Fix failing test

* testing/lisp/test-org-element.el (test-org-element/cache): Fix
  failing test.
Nicolas Goaziou 8 years ago
parent
commit
ade36c4b50
1 changed files with 3 additions and 3 deletions
  1. 3 3
      testing/lisp/test-org-element.el

+ 3 - 3
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 |")