summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorIhor Radchenko <yantar92@posteo.net>2023-08-27 11:18:49 +0300
committerIhor Radchenko <yantar92@posteo.net>2023-08-27 11:18:49 +0300
commit21171d13664d13fdbf051e6996eb6889c2a1f528 (patch)
tree56429c3c69cc227750e24b1291806e6f9a609123 /testing
parent7c929e9d8c657048218a5cd1c623721e2c1d0128 (diff)
* 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.
Diffstat (limited to 'testing')
-rw-r--r--testing/lisp/test-org.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el
index 0a3583fd7..66c3bbdad 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"