aboutsummaryrefslogtreecommitdiffstats
path: root/file_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-09-22 18:51:21 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-09-22 18:51:21 +0200
commit001bb130fe6186421f3ddcc556854410edd8d95e (patch)
tree4307c48320a05acf5c1e98b244feae6b3e1828ce /file_test.go
parent4912552b913f1f575f9cc358b46bcdbe884e7279 (diff)
downloadgo-git-001bb130fe6186421f3ddcc556854410edd8d95e.tar.gz
cleanup old fixtures
Diffstat (limited to 'file_test.go')
-rw-r--r--file_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/file_test.go b/file_test.go
index 28449dd..01ad8ca 100644
--- a/file_test.go
+++ b/file_test.go
@@ -4,6 +4,7 @@ import (
"io"
"gopkg.in/src-d/go-git.v4/core"
+ "gopkg.in/src-d/go-git.v4/fixtures"
. "gopkg.in/check.v1"
)
@@ -179,6 +180,8 @@ var ignoreEmptyDirEntriesTests = []struct {
// At least this test has a high chance of panicking if
// we don't ignore empty dirs.
func (s *FileSuite) TestIgnoreEmptyDirEntries(c *C) {
+ s.buildRepositories(c, fixtures.ByTag("empty-folder"))
+
for i, t := range ignoreEmptyDirEntriesTests {
commit, err := s.Repositories[t.repo].Commit(core.NewHash(t.commit))
c.Assert(err, IsNil, Commentf("subtest %d: %v (%s)", i, err, t.commit))