Skip to content

Commit 739d655

Browse files
committed
Fix test
1 parent ff0f02b commit 739d655

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/testthat/test-config.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ test_that("local, custom config roundtrip", {
22
repo <- git_init(tempfile("gert-tests-config"))
33
on.exit(unlink(repo, recursive = TRUE))
44

5-
orig <- git_config_set("aaa.bbb", "ccc", repo)
5+
orig <- git_config_set("aaa.bbb", "ccc", repo = repo)
66
expect_null(orig)
77
cfg <- git_config(repo)
88
expect_equal(cfg$value[cfg$name == "aaa.bbb"], "ccc")
99

10-
orig <- git_config_set("aaa.bbb", NULL, repo)
10+
orig <- git_config_set("aaa.bbb", NULL, repo = repo)
1111
expect_equal(orig, "ccc")
1212
cfg <- git_config(repo)
1313
expect_equal(cfg$value[cfg$name == "aaa.bbb"], character())

0 commit comments

Comments
 (0)