mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 06:46:34 +00:00
Assume WithAtime default to false
This commit is contained in:
parent
604b18aa74
commit
7cacba0394
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user