Debian Codegraph @

tests/testthat/test-testthat.R

raw
1
2 # the condition handler in our test_that wrapper should prevent
3 # this from being a real error; it should just be a skip
4 test_that("errors can be caught and skipped", {
5 stop("download failed [error code 22]")
6 })