branch: externals/org
commit bbdf9781c2f85448797830144b8c017c9238af61
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    test-org/insert-todo-heading-respect-content: Fix tests
    
    *
    testing/lisp/test-org.el (test-org/insert-todo-heading-respect-content):
    Do not assert newline after newly added heading.  See 52bc95676.
---
 testing/lisp/test-org.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el
index 3f38a560ea..deac5bd1aa 100644
--- a/testing/lisp/test-org.el
+++ b/testing/lisp/test-org.el
@@ -2082,7 +2082,7 @@ text
       (buffer-substring-no-properties (line-beginning-position) (point-max)))))
   (should
    (equal
-    "* TODO \n"
+    "* TODO "
     (let ((org-todo-keywords '((sequence "FIRST" "TODO" "|" "DONE"))))
       (org-test-with-temp-text "* TODO\n** WAITING\n"
         (org-insert-todo-heading-respect-content)
@@ -2090,7 +2090,7 @@ text
   ;; Pass prefix argument.
   (should
    (equal
-    "* FIRST \n"
+    "* FIRST "
     (let ((org-todo-keywords '((sequence "FIRST" "TODO" "|" "DONE"))))
       (org-test-with-temp-text "* TODO\n** WAITING\n"
         (org-insert-todo-heading-respect-content '(4))

Reply via email to