Assume WithAtime default to false

This commit is contained in:
whs 2019-11-06 16:38:46 +08:00
parent 604b18aa74
commit 7cacba0394
1 changed files with 2 additions and 0 deletions

View File

@ -2064,6 +2064,8 @@ func TestMetadataChanged(t *testing.T) {
want.Path = ""
want.ExtendedAttributes = nil
want.AccessTime = want.ModTime
// make sure that metadata was recorded successfully
if !cmp.Equal(want, node2) {
t.Fatalf("metadata does not match:\n%v", cmp.Diff(want, node2))