1
0
Fork 1
mirror of https://github.com/vbatts/tar-split.git synced 2024-12-22 21:36:30 +00:00

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)
}
}