Skip to content

Commit

Permalink
Merge pull request #638 from DyfanJones/github_unit_test
Browse files Browse the repository at this point in the history
skip test on github actions due to flaky network
  • Loading branch information
DyfanJones committed Jun 28, 2023
2 parents c3cf3f5 + 5ff5392 commit 7fe5536
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion make.paws/tests/testthat/test_docs.R
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ test_that("convert", {
expect_equal(convert(text), expected)
})

test_that("check links", {
test_that("check links part1", {
text <- "<a href='http://www.example.com'>foo</a>"
expected <- c("[foo](http://www.example.com/)")
expect_equal(convert(text), expected)
Expand Down Expand Up @@ -627,7 +627,10 @@ test_that("check links", {
text <- "<a href='example.com'>foo</a>"
expected <- c("[foo](https://example.com/)")
expect_equal(convert(text), expected)
})

test_that("check links part2", {
skip_on_ci()
text <- "<a href='https://httpbin.org/anything#foo?bar=baz'>foo</a>"
expected <- c("[foo](https://httpbin.org/anything#foo?bar=baz)")
expect_equal(convert(text), expected)
Expand Down

0 comments on commit 7fe5536

Please sign in to comment.