mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-24 22:32:53 +00:00
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:
parent
0eb9aa798c
commit
695fbc9086
|
@ -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))))))))
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue