From b08327bfaf27171dddc5516c63e5646c40f0b004 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Fri, 22 Apr 2016 11:35:12 +0200 Subject: file, added field Mode --- tree_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'tree_test.go') diff --git a/tree_test.go b/tree_test.go index 09e255c..2b509f3 100644 --- a/tree_test.go +++ b/tree_test.go @@ -264,6 +264,7 @@ func (s *SuiteTree) TestFiles(c *C) { iter := tree.Files() defer iter.Close() for file, err := iter.Next(); err == nil; file, err = iter.Next() { + c.Assert(file.Mode.String(), Equals, "-rw-r--r--") output = append(output, file.Name) } sort.Strings(output) -- cgit