branch: externals/org
commit 52a9d968fa4279512e515c5f13bdcc4ec6de5cbe
Author: Morgan Smith <[email protected]>
Commit: Ihor Radchenko <[email protected]>
Testing: Change use of deprecated `org-hide-block-toggle'
* testing/lisp/test-org-fold.el (test-org-fold/hide-block-toggle-maybe)
(test-org-fold-with-default-template): Use
`org-fold-hide-block-toggle' instead of `org-hide-block-toggle'.
---
testing/lisp/test-org-fold.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testing/lisp/test-org-fold.el b/testing/lisp/test-org-fold.el
index fbb2fbf33d..e9bde7bceb 100644
--- a/testing/lisp/test-org-fold.el
+++ b/testing/lisp/test-org-fold.el
@@ -120,9 +120,9 @@
"Test `org-fold-hide-block-toggle' specifications."
(should
(org-test-with-temp-text "#+BEGIN: dynamic\nContents\n#+END:"
- (org-hide-block-toggle)))
+ (org-fold-hide-block-toggle)))
(should-error
- (org-test-with-temp-text "Paragraph" (org-hide-block-toggle))))
+ (org-test-with-temp-text "Paragraph" (org-fold-hide-block-toggle))))
(ert-deftest test-org-fold/org-fold-hide-entry ()
"Test `org-fold-hide-entry' specifications."
@@ -599,7 +599,7 @@ Unfolded Paragraph.
(search-forward "FOLDED-DRAWER")
(org-hide-drawer-toggle t)
(search-forward "begin_src")
- (org-hide-block-toggle t)
+ (org-fold-hide-block-toggle t)
(goto-char 1)
,@body)))