tests/testthat/test-clean_words.R

test_that("trailing spaces", {
  expect_equal(clean_words("abc"), clean_words(" abc "))
})
test_that("hyphens", {
  expect_equal(clean_words("abc"), clean_words("ab-c"))
})
edward-burn/CodelistGenerator documentation built on April 10, 2022, 11:02 a.m.