tests/testthat/test-adverb-slowly.R

test_that("validates inputs", {
  expect_snapshot(error = TRUE, {
    slowly(mean, 10)
  })
})
hadley/purrr documentation built on Nov. 4, 2023, 3:22 a.m.