tests/testthat/test-rate_limit.R

# tests for rate_limit function
context("rate_limit")

test_that("rate_limit works", {
  skip_on_cran()
  
  expect_is(rate_limit(), "gist_rate")
})

Try the gistr package in your browser

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

gistr documentation built on July 29, 2020, 9:07 a.m.