diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-21 18:55:19 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-21 18:55:19 +0100 |
commit | 4e4a85703c5ce5384a58e85bafc58cc235793ab8 (patch) | |
tree | 747fcaf5786f830cc3618a26d2699f58cde7c191 /plumbing/object/file_test.go | |
parent | dc322326e26d360cfc6ca6921f48265b1f7a4453 (diff) | |
download | go-git-4e4a85703c5ce5384a58e85bafc58cc235793ab8.tar.gz |
*: update tests to meet new submodule fixture
Diffstat (limited to 'plumbing/object/file_test.go')
-rw-r--r-- | plumbing/object/file_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plumbing/object/file_test.go b/plumbing/object/file_test.go index ff01c9f..c482541 100644 --- a/plumbing/object/file_test.go +++ b/plumbing/object/file_test.go @@ -254,7 +254,7 @@ func (s *FileSuite) TestFileIterSubmodule(c *C) { c.Assert(err, IsNil) - hash := plumbing.NewHash("a692ec699bff9117c1ed91752afbb7d9d272ebef") + hash := plumbing.NewHash("b685400c1f9316f350965a5993d350bc746b0bf4") commit, err := GetCommit(st, hash) c.Assert(err, IsNil) @@ -263,6 +263,7 @@ func (s *FileSuite) TestFileIterSubmodule(c *C) { expected := []string{ ".gitmodules", + "README.md", } var count int @@ -273,5 +274,5 @@ func (s *FileSuite) TestFileIterSubmodule(c *C) { return nil }) - c.Assert(count, Equals, 1) + c.Assert(count, Equals, 2) } |