commit against tests run is fixed

renamed tmpLinguist to repoLinguist and SimpleLinguistTestSuite to EnryTestSuit in common_test.go

changed receiver's name for TestSuites to 's'

fixed comments
This commit is contained in:
Manuel Carmona
2017-06-21 15:18:27 +02:00
parent ad46ae50f8
commit b7d4be5fdd
18 changed files with 163 additions and 75 deletions

View File

@ -25,7 +25,7 @@ type samplesFrequencies struct {
}
// Frequencies reads directories in samplesDir, retrieves information about frequencies of languages and tokens, and write
// the file outPath using tmplName as a template.
// the file outPath using tmplName as a template. It complies with type File signature.
func Frequencies(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error {
freqs, err := getFrequencies(samplesDir)
if err != nil {