Skip to content

Commit

Permalink
fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Nov 21, 2024
1 parent 4714bee commit d8e44d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion man/solve_file_name_conflict.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions tests/testthat/test-rename.R
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ test_that("force and action are deprecated", {
file <- withr::local_tempfile(fileext = ".R", lines = "# x1")
file2 <- withr::local_tempfile(fileext = ".R")
unlink(file2)
lifecycle::expect_deprecated(
lifecycle::expect_defunct(
rename_files2(file, file2, force = TRUE)
) |>
expect_message("Renamed .+ by force")
)
})

0 comments on commit d8e44d2

Please sign in to comment.