mirror of
https://github.com/vbatts/tar-split.git
synced 2024-11-22 08:05:39 +00:00
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()
|
||||
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue