forked from TrueCloudLab/restic
Merge pull request #2465 from whs-dot-hk/fix-test-metadata-changed
Fix test metadata changed
This commit is contained in:
commit
6e85a58045
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue