tests/testthat/test-issues.R

test_that("combining of issues", {
  expect_equal(c(IssueList(), Issue("test"), CriticalIssue("test2")),  IssueList(Issue("test"), CriticalIssue("test2")))
})


test_that("printing of issues", {
  local_edition(3)
  local_reproducible_output()
  issues <- IssueList(Issue("test"), CriticalIssue("test2"))
  expect_snapshot(print(issues))
})
sebastianueckert/assemblerr documentation built on Sept. 30, 2022, 9:12 a.m.