Fixed a test bug.
parent
7c97a95067
commit
99080585ce
|
@ -1348,7 +1348,6 @@ func (t *MemFSTest) RenameWithinDir_Directory() {
|
||||||
// The new name should.
|
// The new name should.
|
||||||
fi, err := os.Stat(newPath)
|
fi, err := os.Stat(newPath)
|
||||||
AssertEq(nil, err)
|
AssertEq(nil, err)
|
||||||
ExpectEq(len("taco"), fi.Size())
|
|
||||||
ExpectEq(os.FileMode(0700)|os.ModeDir, fi.Mode())
|
ExpectEq(os.FileMode(0700)|os.ModeDir, fi.Mode())
|
||||||
|
|
||||||
// There should only be the new entry in the parent.
|
// There should only be the new entry in the parent.
|
||||||
|
|
Loading…
Reference in New Issue