File: test-xml_node.R

package info (click to toggle)
r-cran-xml2 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 976 kB
  • sloc: cpp: 1,826; xml: 333; javascript: 238; ansic: 178; sh: 71; makefile: 6
file content (5 lines) | stat: -rw-r--r-- 156 bytes parent folder | download | duplicates (2)
1
2
3
4
5
test_that("print method is correct", {
  x <- read_html(test_path("lego.html.bz2"))
  body <- xml_find_first(x, "//body")
  expect_snapshot(print(body))
})