forked from mirrors/tar-split
tar/asm: test was flipped
This commit is contained in:
parent
97acaa9e83
commit
c74af0bae7
1 changed files with 2 additions and 3 deletions
|
@ -102,11 +102,10 @@ func TestTarStreamMangledGetterPutter(t *testing.T) {
|
||||||
rdr.Close()
|
rdr.Close()
|
||||||
|
|
||||||
csum := c.Sum(nil)
|
csum := c.Sum(nil)
|
||||||
if !bytes.Equal(csum, e.Entry.Payload) {
|
if bytes.Equal(csum, e.Entry.Payload) {
|
||||||
t.Errorf("wrote %d bytes. checksum %q: expected %v; got %v",
|
t.Errorf("wrote %d bytes. checksum for %q should not have matched! %v",
|
||||||
i,
|
i,
|
||||||
e.Entry.Name,
|
e.Entry.Name,
|
||||||
e.Entry.Payload,
|
|
||||||
csum)
|
csum)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue