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/enc documentation built on Jan. 26, 2024, 12:50 a.m.