You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
239 B
9 lines
239 B
context("basic functionality")
|
|
test_that("tidying works", {
|
|
|
|
th <- tidy_html("<b><p><a href='http://google.com'>google ></a></p></b>")
|
|
|
|
expect_gte(nchar(th), 249)
|
|
expect_equivalent(grepl("HTML Tidy for HTML5 for R", th), TRUE)
|
|
|
|
})
|
|
|