We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d97e8fe commit 492f454Copy full SHA for 492f454
git/git_test.go
@@ -42,6 +42,12 @@ func TestCommitBody(t *testing.T) {
42
}
43
44
45
+/*
46
+ NOTE: below this are stubbed git tests, i.e. those that do not actually invoke `git`. If possible, utilize
47
+ `setGitDir()` to allow new tests to interact with `git`. For write operations, you can use `t.TempDir()` to
48
+ host a temporary git repository that is safe to be changed.
49
+*/
50
+
51
func Test_UncommittedChangeCount(t *testing.T) {
52
type c struct {
53
Label string
0 commit comments