Skip to content

Commit 4db87d5

Browse files
committed
Test issue #456
1 parent 4045eb2 commit 4db87d5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/distros.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
distro: [ 'rocky-8', 'rocky-9', 'ubuntu-20.04', 'ubuntu-22.04', 'debian-10', 'debian-11', 'debian-12']
20+
distro: [ 'rocky-8', 'rocky-9', 'ubuntu-20.04', 'ubuntu-22.04', 'debian-10', 'debian-11', 'debian-12', 'debian-13', 'fedora']
2121
#arch: [ 'amd64', 'arm64' ]
2222
arch: [ 'amd64' ]
2323
container:

tests/testthat/test-xml_parse.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,8 @@ test_that("read_xml and read_html fail with > 1 input", {
111111
read_html(c("foo", "bar"))
112112
})
113113
})
114+
115+
test_that("Truncated HTML should not error", {
116+
res <- read_html('<html><head')
117+
expect_s3_class(res, "xml_document")
118+
})

0 commit comments

Comments
 (0)