From 682f4bd92879367bebc1cab9ac2c8077733048a4 Mon Sep 17 00:00:00 2001 From: Jenny Bryan Date: Tue, 5 Mar 2024 10:49:20 -0800 Subject: [PATCH] Another snapshot test line break issue --- tests/testthat/_snaps/tidyverse.md | 3 +-- tests/testthat/test-tidyverse.R | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/testthat/_snaps/tidyverse.md b/tests/testthat/_snaps/tidyverse.md index dcb9680d6..68d674670 100644 --- a/tests/testthat/_snaps/tidyverse.md +++ b/tests/testthat/_snaps/tidyverse.md @@ -10,8 +10,7 @@ v Adding withr to 'Imports' field in DESCRIPTION. v Adding "@import rlang" to 'R/{TESTPKG}-package.R'. v Adding "@importFrom glue glue" to 'R/{TESTPKG}-package.R'. - v Adding "@importFrom lifecycle deprecated" to - 'R/{TESTPKG}-package.R'. + v Adding "@importFrom lifecycle deprecated" to 'R/{TESTPKG}-package.R'. v Writing 'NAMESPACE'. v Writing 'R/import-standalone-purrr.R'. diff --git a/tests/testthat/test-tidyverse.R b/tests/testthat/test-tidyverse.R index 45246cd97..057480121 100644 --- a/tests/testthat/test-tidyverse.R +++ b/tests/testthat/test-tidyverse.R @@ -17,7 +17,7 @@ test_that("use_tidy_dependencies() isn't overly informative", { create_local_package() use_package_doc() - withr::local_options(usethis.quiet = FALSE) + withr::local_options(usethis.quiet = FALSE, cli.width = Inf) expect_snapshot( use_tidy_dependencies(),