diff --git a/.travis.yml b/.travis.yml index 926ca88..79d6ac4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ matrix: addons: apt: packages: - - libxslt-dev + - libxslt1-dev - valgrind r_github_packages: diff --git a/tests/testthat/test-xslt.R b/tests/testthat/test-xslt.R index c667194..8abaf7c 100644 --- a/tests/testthat/test-xslt.R +++ b/tests/testthat/test-xslt.R @@ -4,6 +4,6 @@ test_that("XML document gets properly transformed using a stylesheet", { doc <- read_xml(system.file("examples/cd_catalog.xml", package = "xslt")) style <- read_xml(system.file("examples/cd_catalog.xsl", package = "xslt")) html <- xml_xslt(doc, style) - orig <- read_xml("tests/testthat/cd_catalog.html") + orig <- read_xml("cd_catalog.html") expect_equal(as.character(html, options = "as_html"), as.character(orig, options = "as_html")) })