(t *testing.T)
| 232 | } |
| 233 | |
| 234 | func TestFileGroupKey_Multiple(t *testing.T) { |
| 235 | key := fileGroupKey([]model.Diff{{NewPath: "b.go"}, {NewPath: "a.go"}}) |
| 236 | if key != "a.go,b.go" { |
| 237 | t.Errorf("got %q, want %q (sorted)", key, "a.go,b.go") |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | func TestGroupDiffs_SingleFile(t *testing.T) { |
| 242 | diffs := []model.Diff{{NewPath: "a.go"}} |
nothing calls this directly
no test coverage detected