Skip to content

Commit

Permalink
Drop test
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Oct 22, 2024
1 parent 179477a commit 4a58ac8
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/testthat/test-example.R
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
test_that("can use self destructing paths", {
res <- local({
res <- local({
tmp <- withr::local_tempfile()
path <- suppressMessages(orderly_example("default", dest = NULL))
list(path = path, exists_inner = file.exists(path))
})
res$exists_outer <- file.exists(res$path)
res
})
expect_true(res$exists_inner)
expect_false(res$exists_outer)
})


test_that("can use custom path", {
path <- withr::local_tempfile()
res <- suppressMessages(orderly_example("default", dest = path))
Expand Down

0 comments on commit 4a58ac8

Please sign in to comment.