tests/testthat/test-reprex-addin.R

test_that("rstudio_text_tidy() can handle 'no input'", {
  expect_equal(rstudio_text_tidy(""), character())
})
tidyverse/reprex documentation built on Jan. 27, 2024, 5:55 p.m.