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.
This commit is contained in:
Ihor Radchenko 2023-08-10 15:47:27 +03:00
parent 0eb9aa798c
commit 695fbc9086
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 3 additions and 3 deletions

View File

@ -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))))))))