tests/testthat/test-oc_build_url.R

test_that("oc_build_url returns a string", {
  expect_type(
    oc_build_url(
      query_par = list(placename = "Haarlem"),
      endpoint = "json"
    ),
    "character"
  )
})
ropenscilabs/opencage documentation built on Feb. 7, 2023, 10:18 p.m.