tests/testthat/test-reprex-addin.R

test_that("rstudio_text_tidy() can handle 'no input'", {
  expect_equal(rstudio_text_tidy(""), character())
})

Try the reprex package in your browser

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

reprex documentation built on Aug. 17, 2022, 9:07 a.m.