git-check-assertions/test
Sven van Heugten 1ec02587b0
Demonstrate that the index isn't restored
```git-check-assertions
run ./test/git-check-assertions.bats
assert_failure
assert_output --partial "not ok 9 should restore index when finished"
assert_output --partial "not ok 10 should restore index between commits"
assert_output --partial "not ok 11 should restore index after a failure"
assert_output --partial "not ok 13 you can use git checkout in an assertion to assert against a mixed version of the code"
```
2026-03-06 04:44:32 +01:00
..
git-check-assertions.bats Demonstrate that the index isn't restored 2026-03-06 04:44:32 +01:00