Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Nov 2, 2021
1 parent c4bc483 commit 224fca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-clone.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ test_that("cloning repositories works", {
repo <- git_clone('https://github.com/r-lib/gert', path = path)
expect_true(file.exists(file.path(path, 'DESCRIPTION')))
info <- git_info(repo)
default_head <- git_remote_ls('https://github.com/r-lib/gert')$symref[1]
default_head <- git_remote_ls(repo = repo)$symref[1]
default_branch <- basename(default_head)
expect_equal(info$head, default_head)
expect_equal(info$shorthand, default_branch)
Expand Down

0 comments on commit 224fca9

Please sign in to comment.