tests/testthat/test-box-styles.R

test_that_cli(configs = c("plain", "unicode"), "list_border_styles", {
  expect_snapshot(
    for (st in list_border_styles()) print(boxx("", border_style = st))
  )
})

Try the cli package in your browser

Any scripts or data that you put into this service are public.

cli documentation built on March 31, 2023, 9:04 p.m.