tests/testthat/test-clean_text.R

context("clean_text")

test_that("misc", {
  expect_that(clean_text("hej"), is_equivalent_to("hej"))  
  expect_that(clean_text("Hej pa dig!"), is_equivalent_to("hejpadig"))  
})

Try the incadata package in your browser

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

incadata documentation built on April 14, 2020, 6:08 p.m.