tests/testthat/test-function-utf8_to_iso_8859_1.R

test_that("utf8_to_iso_8859_1() works", {

  f <- kwb.fakin:::utf8_to_iso_8859_1

  expect_error(f())

  expect_identical(f("a"), "a")
})
KWB-R/kwb.fakin documentation built on June 14, 2022, 2 p.m.