emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 695fbc9086: fixup! test-ox-html: Add new tests for


From: ELPA Syncer
Subject: [elpa] externals/org 695fbc9086: fixup! test-ox-html: Add new tests for checkboxes: ascii, html & unicode
Date: Thu, 10 Aug 2023 09:58:22 -0400 (EDT)

branch: externals/org
commit 695fbc9086ed011e0cdd91ccafc446a038a00e9e
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    fixup! test-ox-html: Add new tests for checkboxes: ascii, html & unicode
    
    * testing/lisp/test-ox-html.el (ox-html/checkbox-ascii):
    (ox-html/checkbox-html):
    (ox-html/checkbox-unicode): Pass BEG and END arguments to
    `libxml-parse-xml-region'.  They are mandatory in Emacs <29.
---
 testing/lisp/test-ox-html.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testing/lisp/test-ox-html.el b/testing/lisp/test-ox-html.el
index a25488d1b8..cbe272ef88 100644
--- a/testing/lisp/test-ox-html.el
+++ b/testing/lisp/test-ox-html.el
@@ -839,7 +839,7 @@ $x$"
         (org-export-to-buffer 'html export-buffer
           nil nil nil t nil)
         (with-current-buffer export-buffer
-          (libxml-parse-xml-region)))))))
+          (libxml-parse-xml-region (point-min) (point-max))))))))
 
 (ert-deftest ox-html/checkbox-html ()
   "Test HTML checkbox rendering"
@@ -863,7 +863,7 @@ $x$"
         (org-export-to-buffer 'html export-buffer
           nil nil nil t '(:html-checkbox-type html))
         (with-current-buffer export-buffer
-          (libxml-parse-xml-region)))))))
+          (libxml-parse-xml-region (point-min) (point-max))))))))
 
 (ert-deftest ox-html/checkbox-unicode ()
   "Test HTML checkbox rendering"
@@ -884,7 +884,7 @@ $x$"
         (org-export-to-buffer 'html export-buffer
           nil nil nil t '(:html-checkbox-type unicode))
         (with-current-buffer export-buffer
-          (libxml-parse-xml-region)))))))
+          (libxml-parse-xml-region (point-min) (point-max))))))))
 
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]