tests/testthat/test-function-summary.path_tree.R

test_that("summary.path_tree() works", {

  f <- kwb.fakin:::summary.path_tree

  expect_error(f())

  capture.output(tree <- kwb.fakin:::to_tree(c("a/b", "a/b/c")))

  f(tree)
})
KWB-R/kwb.fakin documentation built on June 14, 2022, 2 p.m.