1
0
Fork 0
forked from mirrors/tar-split

tar/asm: test was flipped

This commit is contained in:
Vincent Batts 2015-07-20 17:26:16 -04:00
parent 97acaa9e83
commit c74af0bae7

View file

@ -102,11 +102,10 @@ func TestTarStreamMangledGetterPutter(t *testing.T) {
rdr.Close()
csum := c.Sum(nil)
if !bytes.Equal(csum, e.Entry.Payload) {
t.Errorf("wrote %d bytes. checksum %q: expected %v; got %v",
if bytes.Equal(csum, e.Entry.Payload) {
t.Errorf("wrote %d bytes. checksum for %q should not have matched! %v",
i,
e.Entry.Name,
e.Entry.Payload,
csum)
}
}