From 6cd3129262ba6e74fae4c3bac26a359481084e63 Mon Sep 17 00:00:00 2001 From: Josh Cook Date: Sun, 18 Oct 2020 12:33:52 -0400 Subject: [PATCH] test: minor change --- tests/testthat/test-stash.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-stash.R b/tests/testthat/test-stash.R index da9fda5..723d330 100644 --- a/tests/testthat/test-stash.R +++ b/tests/testthat/test-stash.R @@ -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")