Skip to content

Commit

Permalink
Umpdate junk path example
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Nov 9, 2020
1 parent 25b7306 commit f2d0abe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-bundle.R
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ test_that("can't import an unrun bundle", {

test_that("sensible error when given junk input", {
path <- orderly::orderly_example("minimal")
tmp <- tempfile()
file.create(tmp)
tmp <- tempfile(fileext = ".zip")
zip_dir(file.path(path, "src"), tmp)
expect_error(
orderly_bundle_import(tmp, root = path),
"Failed to extract bundle info from '.*'")
Expand Down

0 comments on commit f2d0abe

Please sign in to comment.