tests/testthat/test-example.R

test_that("example path returned", {
  zipfile <- zip_example()
  expect_true(file.exists(zipfile))
  expect_s3_class(zipfile, "fs_path")
})
kiernann/zippr documentation built on Feb. 17, 2021, 5:59 p.m.