tests/testthat/test-format_list.R
raw| 1 | test_that("output test", { |
| 2 | expect_snapshot({ |
| 3 | pillar(as.list(1:3)) |
| 4 | pillar(list(1:3, NULL)) |
| 5 | pillar(add_special(list(1:3))) |
| 6 | pillar(list(trees), width = 10) |
| 7 | }) |
| 8 | |
| 9 | local_colors() |
| 10 | |
| 11 | expect_snapshot({ |
| 12 | pillar(list(data.frame()), width = 11) |
| 13 | pillar(list(data.frame()), width = 12) |
| 14 | }) |
| 15 | }) |