diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-22 18:51:21 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-22 18:51:21 +0200 |
commit | 001bb130fe6186421f3ddcc556854410edd8d95e (patch) | |
tree | 4307c48320a05acf5c1e98b244feae6b3e1828ce /commit_test.go | |
parent | 4912552b913f1f575f9cc358b46bcdbe884e7279 (diff) | |
download | go-git-001bb130fe6186421f3ddcc556854410edd8d95e.tar.gz |
cleanup old fixtures
Diffstat (limited to 'commit_test.go')
-rw-r--r-- | commit_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/commit_test.go b/commit_test.go index b80d2c6..f55d01a 100644 --- a/commit_test.go +++ b/commit_test.go @@ -5,6 +5,7 @@ import ( "time" "gopkg.in/src-d/go-git.v4/core" + "gopkg.in/src-d/go-git.v4/fixtures" . "gopkg.in/check.v1" ) @@ -131,6 +132,8 @@ func (s *SuiteCommit) TestString(c *C) { func (s *SuiteCommit) TestStringMultiLine(c *C) { hash := core.NewHash("e7d896db87294e33ca3202e536d4d9bb16023db3") + s.buildRepositories(c, fixtures.ByURL("https://github.com/src-d/go-git.git")) + commit, err := s.Repositories["https://github.com/src-d/go-git.git"].Commit(hash) c.Assert(err, IsNil) @@ -145,7 +148,6 @@ func (s *SuiteCommit) TestStringMultiLine(c *C) { " was getting invalid data on it read buffers.\n"+ "\n", ) - } func (s *SuiteCommit) TestCommitIterNext(c *C) { |