(t *testing.T)
| 270 | } |
| 271 | |
| 272 | func TestHasUncommittedChanges_EmptyRepo(t *testing.T) { |
| 273 | tmpDir := t.TempDir() |
| 274 | setupGitRepo(t, tmpDir) |
| 275 | |
| 276 | // Empty repo with no commits |
| 277 | hasChanges, err := HasUncommittedChanges(tmpDir) |
| 278 | |
| 279 | require.NoError(t, err) |
| 280 | assert.False(t, hasChanges) |
| 281 | } |
| 282 | |
| 283 | // Tests for ParseCommitRange |
| 284 |
nothing calls this directly
no test coverage detected