Debian Codegraph @

tests/testthat/test-format_list_of.R

raw
1 test_that("smoke test", {
2 local_override_size_sum()
3
4 v <- new_list_of(list(1L, 2:4), integer())
5 expect_snapshot({
6 pillar(v, width = 15)
7 })
8
9 v <- new_list_of(list(as_override_size_sum(1:3)), as_override_size_sum(integer()))
10 expect_snapshot({
11 pillar(v, width = 30)
12 })
13 })