aboutsummaryrefslogtreecommitdiffstats
path: root/tree_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-04-22 11:35:12 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-04-22 11:35:12 +0200
commitb08327bfaf27171dddc5516c63e5646c40f0b004 (patch)
treed974021a3d804b055a807363f3ba71d9b6d54825 /tree_test.go
parentb35fc295b4ac531adc72fc83f2af628c7c163c0e (diff)
downloadgo-git-b08327bfaf27171dddc5516c63e5646c40f0b004.tar.gz
file, added field Modev3.0.1
Diffstat (limited to 'tree_test.go')
-rw-r--r--tree_test.go1
1 files changed, 1 insertions, 0 deletions
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)