We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c60f95 commit c3d23ebCopy full SHA for c3d23eb
1 file changed
tests/testthat/test-xml_parse.R
@@ -52,8 +52,8 @@ test_that("read_html properly passes parser arguments", {
52
53
blanks <- read_html(xml2_example("cd_catalog.xml"), options = c("RECOVER", "NOERROR"))
54
expect_equal(
55
- as_list(blanks)$html$body$catalog$cd[[1]],
56
- "\r\n "
+ sub("\r\n", "\n", fixed = TRUE, as_list(blanks)$html$body$catalog$cd[[1]]),
+ "\n "
57
)
58
59
no_blanks <- read_html(xml2_example("cd_catalog.xml"), options = c("RECOVER", "NOERROR", "NOBLANKS"))
0 commit comments