Skip to content

Commit

Permalink
test-org-fold: Cover the issue fixed by previous commit
Browse files Browse the repository at this point in the history
*
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.
  • Loading branch information
yantar92 committed Jul 12, 2022
1 parent a79a742 commit f29ccf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/lisp/test-org-fold.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f29ccf3

Please sign in to comment.