1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2024-11-22 16:25:38 +00:00

Merge pull request #67 from stephen679/tar_test_extra_missing

tar_test: don't check for extra/missing when validating relative to "."
This commit is contained in:
Vincent Batts 2016-08-12 09:04:06 -04:00 committed by GitHub
commit a63446dc6f

View file

@ -276,12 +276,6 @@ func TestTreeTraversal(t *testing.T) {
for _, f := range res.Failures { for _, f := range res.Failures {
t.Errorf(f.String()) t.Errorf(f.String())
} }
for _, e := range res.Extra {
t.Errorf("%s extra not expected", e.Name)
}
for _, m := range res.Missing {
t.Errorf("%s missing not expected", m.Name)
}
} }
// Now test an archive that requires placeholder directories, i.e, there are // Now test an archive that requires placeholder directories, i.e, there are
@ -311,12 +305,6 @@ func TestTreeTraversal(t *testing.T) {
for _, f := range res.Failures { for _, f := range res.Failures {
t.Errorf(f.String()) t.Errorf(f.String())
} }
for _, e := range res.Extra {
t.Errorf("%s extra not expected", e.Name)
}
for _, m := range res.Missing {
t.Errorf("%s missing not expected", m.Name)
}
} }
} }