tests/testthat/reporters/error-setup.R

f <- function() g()
g <- function() h()
h <- function() stop("!")

local_edition(2)
setup(f())
r-lib/testthat documentation built on Feb. 18, 2024, 8:59 p.m.