tests/testthat/test-source.R

test_that("multiplication works", {
  expect_snapshot(error = TRUE, {
    source_many(test_path("testSource", c("a.R", "b.R")))
  })
})
r-lib/pkgload documentation built on Nov. 6, 2024, 11:15 p.m.