tests/testthat/test-paths.R

context("Path specific")

test_that("Parse paths correctly", {
    expect_equal(get_paths("hello/world/test"), c("hello/world/test", "hello/world", "hello"))
})
nt-williams/cabinets documentation built on Nov. 10, 2020, 6:14 p.m.