File: test-new-pillar-type.R

package info (click to toggle)
r-cran-pillar 1.8.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,840 kB
  • sloc: sh: 13; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
test_that("can format new_pillar_type()", {
  expect_equal(
    format(new_pillar_type(1:3)),
    format_full_pillar_type(1:3)
  )
  expect_equal(
    format(new_pillar_type(list(1, 2:3))),
    format_full_pillar_type(list(1, 2:3))
  )
})