From bbdf9781c2f85448797830144b8c017c9238af61 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 19 Aug 2023 12:16:36 +0300 Subject: [PATCH] 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 3f38a560e..deac5bd1a 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))