```git-check-assertions run test/git-check-assertions.bats assert_success git checkout HEAD~1 bin run test/git-check-assertions.bats assert_failure assert_output --partial "not ok 2 should refuse to run when the index has changes" assert_output --partial "not ok 3 should refuse to run when the working tree has changes" assert_output --partial "not ok 4 should refuse to run when there are untracked files" ``` |
||
|---|---|---|
| .. | ||
| git-check-assertions | ||