tests/testthat/test-api-key.R

test_that("Breaking for API Key", {

  expect_error(lp_api_key(api_key = ""))
  expect_silent(lp_api_key(api_key = "", error = FALSE))

})
muschellij2/leanpubr documentation built on May 18, 2019, 8:10 p.m.