Moved commit.go to data directory

This commit is contained in:
David Paz
2017-06-28 10:58:58 +02:00
parent f9805b3faa
commit 3f2248084e
5 changed files with 11 additions and 9 deletions

View File

@ -8,6 +8,8 @@ import (
"path/filepath"
"testing"
"gopkg.in/src-d/enry.v1/data"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
)
@ -38,7 +40,7 @@ func (s *EnryTestSuite) SetupSuite() {
err = os.Chdir(s.repoLinguist)
assert.NoError(s.T(), err)
cmd = exec.Command("git", "checkout", linguistCommit)
cmd = exec.Command("git", "checkout", data.LinguistCommit)
err = cmd.Run()
assert.NoError(s.T(), err)