branch: externals-release/org
commit 21171d13664d13fdbf051e6996eb6889c2a1f528
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    * testing/lisp/test-org.el (test-org/insert-heading): Fix test
    
    The test itself is wrong - `org-insert-heading' was correctly obeying
    blank before the entry at point when inserting a new heading.
---
 testing/lisp/test-org.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el
index 0a3583fd7c..66c3bbdadd 100644
--- a/testing/lisp/test-org.el
+++ b/testing/lisp/test-org.el
@@ -1868,14 +1868,12 @@ CLOCK: [2022-09-17 sam. 11:00]--[2022-09-17 sam. 11:46] 
=>  0:46"
       (buffer-string))))
   (should
    (equal
-    "
-* 1
+    "* 1
 ** 1.1
 ** 1.2
 * 
 * 2"
-    (org-test-with-temp-text "
-<point>* 1
+    (org-test-with-temp-text "<point>* 1
 ** 1.1
 ** 1.2
 * 2"

Reply via email to