Complete fix for eww-tests.el
* test/lisp/net/eww-tests.el (eww-test/readable/toggle-display) (eww-test/readable/default-readable): Check for libxml. (Bug#70472)
This commit is contained in:
parent
4d5fac4002
commit
3af9c33263
1 changed files with 3 additions and 1 deletions
|
@ -197,6 +197,7 @@ This sets `eww-before-browse-history-function' to
|
|||
|
||||
(ert-deftest eww-test/readable/toggle-display ()
|
||||
"Test toggling the display of the \"readable\" parts of a web page."
|
||||
(skip-unless (libxml-available-p))
|
||||
(eww-test--with-mock-retrieve
|
||||
(let* ((shr-width most-positive-fixnum)
|
||||
(shr-use-fonts nil)
|
||||
|
@ -234,7 +235,8 @@ This sets `eww-before-browse-history-function' to
|
|||
|
||||
(ert-deftest eww-test/readable/default-readable ()
|
||||
"Test that EWW displays readable parts of pages by default when applicable."
|
||||
(eww-test--with-mock-retrieve
|
||||
(skip-unless (libxml-available-p))
|
||||
(eww-test--with-mock-retrieve
|
||||
(let* ((eww-test--response-function
|
||||
(lambda (_url)
|
||||
(concat "Content-Type: text/html\n\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue