Skip to content

Commit

Permalink
test: minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
jhrcook committed Oct 18, 2020
1 parent 944061c commit 6cd3129
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testthat/test-stash.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
test_that("stashing works", {
target_dir <- ".mustashe"
target_dir <- get_stash_dir()
stash_filename("x")
dont_use_here(silent = TRUE)

expect_error(stash(NULL, NULL), "`var` cannot be NULL")
expect_error(stash("a", NULL), "`code` cannot be NULL")
Expand Down

0 comments on commit 6cd3129

Please sign in to comment.