Skip to content

Commit

Permalink
add config
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Dec 7, 2023
1 parent b23420a commit 6c6d2de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-update.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
test_that("deepl_update() works", {

dir <- withr::local_tempdir()
file <- file.path(dir, "bla.md")
fs::file_create(file)
Expand All @@ -21,6 +22,8 @@ test_that("deepl_update() works", {
})

gert::git_init(dir)
gert::git_config_set("user.name", "Jane Doe", repo = dir)
gert::git_config_set("user.email", "[email protected]", repo = dir)
gert::git_add(c(fs::path_file(file), fs::path_file(out_file)), repo = dir)
gert::git_commit_all("First commit", repo = dir)

Expand Down

0 comments on commit 6c6d2de

Please sign in to comment.