diff --git a/tests/testthat/_snaps/scan-deps.md b/tests/testthat/_snaps/scan-deps.md index 24a230fb..c6e891af 100644 --- a/tests/testthat/_snaps/scan-deps.md +++ b/tests/testthat/_snaps/scan-deps.md @@ -1,13 +1,13 @@ # get_deps_cache_path Code - get_deps_cache_path() + writeLines(get_deps_cache_path()) Output - [1] "//R/pkgcache/deps/1" + //R/pkgcache/deps/1 Code - get_deps_cache_path("badcafe") + writeLines(get_deps_cache_path("badcafe")) Output - [1] "//R/pkgcache/deps/1/ba/badcafe" + //R/pkgcache/deps/1/ba/badcafe # clear_deps_cache diff --git a/tests/testthat/test-scan-deps.R b/tests/testthat/test-scan-deps.R index bd337917..fa78a224 100644 --- a/tests/testthat/test-scan-deps.R +++ b/tests/testthat/test-scan-deps.R @@ -18,8 +18,8 @@ test_that("get_deps_cache_path", { on.exit(unlink(tmp), add = TRUE) expect_snapshot(transform = transform_tempdir, { - get_deps_cache_path() - get_deps_cache_path("badcafe") + writeLines(get_deps_cache_path()) + writeLines(get_deps_cache_path("badcafe")) }) })