Tools to work with the Google DNS over HTTPS API in R
https://cinc.rud.is/web/packages/gdns/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
265 B
11 lines
265 B
context("basic functionality")
|
|
test_that("we can do something", {
|
|
|
|
expect_that(length(gdns::query("example.com")), equals(10))
|
|
|
|
doms <- c("example.com", "example.org", "example.net")
|
|
qry <- gdns::bulk_query(doms)
|
|
|
|
expect_that(dim(qry), equals(c(3, 7)))
|
|
|
|
})
|
|
|