Update with more coverage
@@ -455,6 +455,20 @@ func TestFileSummarizeShortSort(t *testing.T) {
WeightedComplexity: 1000,
Binary: false,
}
+ inputChan <- &FileJob{
+ Language: "Go",
+ Filename: "bbbb.go",
+ Extension: "go",
+ Location: "./",
+ Bytes: 1000,
+ Lines: 1000,
+ Code: 1000,
+ Comment: 1000,
+ Blank: 1000,
+ Complexity: 1000,
+ WeightedComplexity: 1000,
+ Binary: false,
+ }
close(inputChan)
sortBy := []string{"name", "line", "blank", "code", "comment"}
