(t *testing.T)
| 361 | } |
| 362 | |
| 363 | func TestClientUncommittedChangeCountReturnsZeroForCleanRepository(t *testing.T) { |
| 364 | // Given a clean repository |
| 365 | repo := newTestRepo(t) |
| 366 | |
| 367 | // When uncommitted changes are counted |
| 368 | count, err := repo.client.UncommittedChangeCount(t.Context()) |
| 369 | |
| 370 | // Then no changes are reported |
| 371 | require.NoError(t, err) |
| 372 | assert.Equal(t, 0, count) |
| 373 | } |
| 374 | |
| 375 | func TestClientUncommittedChangeCountIncludesTrackedAndUntrackedFiles(t *testing.T) { |
| 376 | // Given a repository with one modified file and one untracked file |
nothing calls this directly
no test coverage detected