diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-04-22 11:35:12 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-04-22 11:35:12 +0200 |
commit | b08327bfaf27171dddc5516c63e5646c40f0b004 (patch) | |
tree | d974021a3d804b055a807363f3ba71d9b6d54825 /file_test.go | |
parent | b35fc295b4ac531adc72fc83f2af628c7c163c0e (diff) | |
download | go-git-b08327bfaf27171dddc5516c63e5646c40f0b004.tar.gz |
file, added field Modev3.0.1
Diffstat (limited to 'file_test.go')
-rw-r--r-- | file_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/file_test.go b/file_test.go index aa3369a..2f457f4 100644 --- a/file_test.go +++ b/file_test.go @@ -58,6 +58,7 @@ func (s *SuiteFile) TestIter(c *C) { expected := t.files[k] file, err := iter.Next() c.Assert(err, IsNil, Commentf("subtest %d, iter %d, err=%v", i, k, err)) + c.Assert(file.Mode.String(), Equals, "-rw-r--r--") c.Assert(file.Hash.IsZero(), Equals, false) c.Assert(file.Hash, Equals, file.ID()) c.Assert(file.Name, Equals, expected.Name, Commentf("subtest %d, iter %d, name=%s, expected=%s", i, k, file.Name, expected.Hash)) |