tests/testthat/test_output.R

test_that("Print", {
  local_edition(3)

  err <- e("Whoops!")
  war <- w("Caution")

  expect_snapshot_output(err)
  expect_snapshot_output(war)
})
devOpifex/erratum documentation built on Feb. 5, 2024, 1:58 p.m.