mirror of
https://github.com/vbatts/tar-split.git
synced 2025-07-07 00:38:30 +00:00
archive/tar: linting errors
I intend to not make changes to this `archive/tar` that aren't from upstream, or are not directly related to the usage by this project... Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
516158dbfb
commit
bc1624cbfc
2 changed files with 9 additions and 7 deletions
|
@ -833,8 +833,8 @@ func Benchmark(b *testing.B) {
|
|||
// Write the archive to a byte buffer.
|
||||
tw := NewWriter(&buf)
|
||||
for _, file := range v.files {
|
||||
tw.WriteHeader(file.hdr)
|
||||
tw.Write(file.body)
|
||||
_ = tw.WriteHeader(file.hdr)
|
||||
_, _ = tw.Write(file.body)
|
||||
}
|
||||
tw.Close()
|
||||
b.Run(v.label, func(b *testing.B) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue