tests/testthat/test-git.R

test_that("git status works", {
  skip_on_cran()
  wd <- local_temp_git_repo()
  result <- git("status", wd = wd)
  expect_true(grepl("No commits yet", result, fixed = TRUE))
})
RTagBot/gitline documentation built on Dec. 18, 2021, 8:51 a.m.