File: test-utils-tick.R

package info (click to toggle)
r-cran-tibble 3.2.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,408 kB
  • sloc: ansic: 317; sh: 10; makefile: 5
file content (8 lines) | stat: -rw-r--r-- 184 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
test_that("output test", {
  expect_snapshot({
    name_or_pos(c("a", "", "c"), 1:3)

    cat(tick(c("a", "b c", "if", "`")))
    cat(tick_if_needed(c("a", "b c", "if", "`")))
  })
})