diff --git a/tests/testthat/_snaps/lifecycle.md b/tests/testthat/_snaps/lifecycle.md index e4bb79e48..c284edbc9 100644 --- a/tests/testthat/_snaps/lifecycle.md +++ b/tests/testthat/_snaps/lifecycle.md @@ -5,8 +5,7 @@ Message v Adding lifecycle to 'Imports' field in DESCRIPTION. [ ] Refer to functions with `lifecycle::fun()`. - v Adding "@importFrom lifecycle deprecated" to - 'R/{TESTPKG}-package.R'. + v Adding "@importFrom lifecycle deprecated" to 'R/{TESTPKG}-package.R'. v Writing 'NAMESPACE'. v Creating 'man/figures/'. v Copied SVG badges to 'man/figures/'. diff --git a/tests/testthat/test-lifecycle.R b/tests/testthat/test-lifecycle.R index a37a066db..c6792299b 100644 --- a/tests/testthat/test-lifecycle.R +++ b/tests/testthat/test-lifecycle.R @@ -1,7 +1,7 @@ test_that("use_lifecycle() imports badges", { create_local_package() use_package_doc() - withr::local_options(usethis.quiet = FALSE, width = 200) + withr::local_options(usethis.quiet = FALSE, cli.width = 200) expect_snapshot( use_lifecycle(),