Skip to content

Commit d0fb83b

Browse files
Auto-Convert to LF from CLF
1 parent 9b2184e commit d0fb83b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

R/testing.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,11 @@ local_test_setup <- function(git = TRUE,
256256
}
257257
if (git) {
258258
git2r::init()
259+
git2r::config(
260+
user.name = "testthat",
261+
user.email = "[email protected]",
262+
core.autocrlf = TRUE
263+
)
259264
withr::defer(fs::dir_delete(fs::path(dir, ".git")), envir = .local_envir)
260265
}
261266
if (use_precommit) {

0 commit comments

Comments
 (0)