tests/testthat/test-non-breaking-space.R

test_that("does not break", {
  expect_snapshot(local({
    withr::local_options(cli.width = 40)
    str30 <- "123456789 123456789 1234567890"
    cli_text(c(str30, "this\u00a0is\u00a0not\u00a0breaking"))
  }))
})
r-pkgs/boxes documentation built on March 31, 2024, 10:01 p.m.