tests/testthat/test-output.R

test_that("output", {
  expect_identical(format(utf8(c("a", "bc"))), c("a ", "bc"))
})

test_that("print", {
  expect_snapshot({
    print(utf8(c("a", "bc")))
  })
})
krlmlr/utf8 documentation built on Feb. 4, 2024, 10:20 a.m.