tests/testthat/test-tr_trunc_neatly.R

test_that("string truncation works", {
  expect_equal(
    tr_trunc_neatly("This is a test string", l = 17),
    "This is a test..."
  )
})
travis-m-blimkie/tRavis documentation built on April 9, 2024, 11:45 p.m.