Skip to content

Commit

Permalink
How about cli.width?????
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Mar 1, 2024
1 parent 4cea077 commit 0baf2b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions tests/testthat/_snaps/lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/'.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-lifecycle.R
Original file line number Diff line number Diff line change
@@ -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(),
Expand Down

0 comments on commit 0baf2b5

Please sign in to comment.