浏览代码

test-org: Attempt to fix failing test on 24.3 pre-release

Nicolas Goaziou 12 年之前
父节点
当前提交
97508e72dd
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      testing/lisp/test-org.el

+ 3 - 3
testing/lisp/test-org.el

@@ -458,20 +458,20 @@ http://article.gmane.org/gmane.emacs.orgmode/21459/"
 	    (eolp))))
   ;; At an headline with special movement.
   (should
-   (org-test-with-temp-text "* Headline :tag:"
+   (org-test-with-temp-text "* Headline :tag:\n"
      (let ((org-special-ctrl-a/e t))
        (and (progn (org-end-of-line) (looking-at " :tag:"))
 	    (progn (org-end-of-line) (eolp))
 	    (progn (org-end-of-line) (looking-at " :tag:"))))))
   ;; At an headline without special movement.
   (should
-   (org-test-with-temp-text "* Headline :tag:"
+   (org-test-with-temp-text "* Headline :tag:\n"
      (let ((org-special-ctrl-a/e nil))
        (and (progn (org-end-of-line) (eolp))
 	    (progn (org-end-of-line) (eolp))))))
   ;; At an headline, with reversed movement.
   (should
-   (org-test-with-temp-text "* Headline :tag:"
+   (org-test-with-temp-text "* Headline :tag:\n"
      (let ((org-special-ctrl-a/e 'reversed)
 	   (this-command last-command))
        (and (progn (org-end-of-line) (eolp))