tests/testthat/test-edit_file.R

context("edit_file")

test_that("edit_file fails when it can't find anything", {
  expect_error(edit_file(tempdir()))
})

Try the dataspice package in your browser

Any scripts or data that you put into this service are public.

dataspice documentation built on May 17, 2021, 1:09 a.m.