diff --git a/tests/testthat/test-images.R b/tests/testthat/test-images.R index 48242e42..10e1d744 100644 --- a/tests/testthat/test-images.R +++ b/tests/testthat/test-images.R @@ -4,6 +4,16 @@ svg_file <- file.path(R.home(component = "doc"), "html", "Rlogo.svg") ext_img <- external_img(img.file) ext_svg <- external_img(svg_file) +test_that("add image in HTML", { + expect_match( + to_html(ext_svg), + "