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

@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/assert"
)
func (s *SimpleLinguistTestSuite) TestIsVendor() {
func (s *EnryTestSuite) TestIsVendor() {
tests := []struct {
name string
path string
@ -31,7 +31,7 @@ func (s *SimpleLinguistTestSuite) TestIsVendor() {
}
}
func (s *SimpleLinguistTestSuite) TestIsDocumentation() {
func (s *EnryTestSuite) TestIsDocumentation() {
tests := []struct {
name string
path string
@ -47,7 +47,7 @@ func (s *SimpleLinguistTestSuite) TestIsDocumentation() {
}
}
func (s *SimpleLinguistTestSuite) TestIsConfiguration() {
func (s *EnryTestSuite) TestIsConfiguration() {
tests := []struct {
name string
path string
@ -64,7 +64,7 @@ func (s *SimpleLinguistTestSuite) TestIsConfiguration() {
}
}
func (s *SimpleLinguistTestSuite) TestIsBinary() {
func (s *EnryTestSuite) TestIsBinary() {
tests := []struct {
name string
data []byte