mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-11-26 01:55:39 +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:
commit
a63446dc6f
1 changed files with 0 additions and 12 deletions
12
tar_test.go
12
tar_test.go
|
@ -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)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue