Commit fb6dcee4 authored by Aaron Jacobs's avatar Aaron Jacobs

ForgetFSTest.Stat_Foo

parent ea13e766
......@@ -101,7 +101,13 @@ func (t *ForgetFSTest) Open_ManyTimes() {
}
func (t *ForgetFSTest) Stat_Foo() {
AssertTrue(false, "TODO")
var fi os.FileInfo
var err error
fi, err = os.Stat(path.Join(t.Dir, "foo"))
AssertEq(nil, err)
AssertEq("foo", fi.Name())
AssertEq(os.FileMode(0777), fi.Mode())
}
func (t *ForgetFSTest) Stat_Bar() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment