tests/testthat/test-domains.R

# tests for domains
context("domains")

test_that("incorrect input to what param returns NULL", {
	skip_on_cran()

  expect_error(domain_records("asfasd"), "The resource you were accessing could not be found")
})

Try the analogsea package in your browser

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

analogsea documentation built on April 20, 2023, 1:34 a.m.