* 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.
This commit is contained in:
Ihor Radchenko 2023-08-27 11:18:49 +03:00
parent 7c929e9d8c
commit 21171d1366
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 2 additions and 4 deletions

View File

@ -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"