tests/testthat/test-zz_delete.R

test_that("An error is thrown if we forget various params", {
  
  expect_error(zzlite::zz_delete(), "Whoops, seems like you forgot to pass an id!")
  
})

Try the zzlite package in your browser

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

zzlite documentation built on March 26, 2020, 7:36 p.m.