Nothing
funcao_pai <- function() erro_teste()
erro_teste <- function() {
erro_endbr(c("teste", "*" = "informacao"), call = rlang::caller_env())
}
test_that("erro funciona corretamente", {
expect_error(funcao_pai(), class = "erro_endbr_teste")
expect_error(funcao_pai(), class = "erro_endbr")
expect_snapshot(funcao_pai(), error = TRUE, cnd_class = TRUE)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.