From 071efd82389ffb4a57f1baa24141e4103a3785a7 Mon Sep 17 00:00:00 2001 From: Josiah Parry Date: Sun, 24 Sep 2023 10:08:44 -0400 Subject: [PATCH] explicitly print data frame for tests --- tests/testthat/test-use_cran_defaults.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-use_cran_defaults.R b/tests/testthat/test-use_cran_defaults.R index b3fdada2..725e841a 100644 --- a/tests/testthat/test-use_cran_defaults.R +++ b/tests/testthat/test-use_cran_defaults.R @@ -34,7 +34,7 @@ test_that("vendor_pkgs() vendors dependencies", { use_cran_defaults(path, quiet = TRUE, overwrite = TRUE) x <- vendor_pkgs(path, quiet = TRUE) - expect_snapshot(x) + expect_snapshot(print(x)) expect_snapshot(cat_file("src", "rust", "vendor-config.toml")) })