Parcourir la source

test-org-fold: Cover the issue fixed by previous commit

*
testing/lisp/test-org-fold.el (test-org-fold/org-fold-reveal-broken-structure):
Test `org-delete-char' instead of `delete-char'.  The former is the
function used interactively.
Ihor Radchenko il y a 2 ans
Parent
commit
f29ccf3161
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      testing/lisp/test-org-fold.el

+ 1 - 1
testing/lisp/test-org-fold.el

@@ -410,7 +410,7 @@ Text here"
       (re-search-forward "Text")
       (should (org-invisible-p))
       (goto-char 1)
-      (delete-char 1)
+      (org-delete-char 1)
       (re-search-forward "Text")
       (should-not (org-invisible-p)))
     (org-test-with-temp-text