tests/testthat/_snaps/commit-version.md

check_only_modified() works

Code
  check_only_modified("NEWS.md")
Condition
  Error in `check_only_modified()`:
  x Found untracked/unstaged/staged file in the git index: 'blop.R'.
  i Please commit or discard it and try again.
Code
  check_only_modified("NEWS.md")
Condition
  Error in `check_only_modified()`:
  x Found untracked/unstaged/staged files in the git index: 'blop.R' and 'onemore.R'.
  i Please commit or discard them and try again.
Code
  check_only_modified(c("blop.R", "NEWS.md"))
Condition
  Error in `check_only_modified()`:
  x Found untracked/unstaged/staged file in the git index: 'onemore.R'.
  i Please commit or discard it and try again.


cynkra/fledge documentation built on April 17, 2025, 3:56 a.m.