]> Cypherpunks repositories - gostls13.git/commit
archive/tar: compact slices in tests
authorJoe Tsai <joetsai@digital-static.net>
Fri, 14 Oct 2016 00:14:24 +0000 (17:14 -0700)
committerJoe Tsai <thebrokentoaster@gmail.com>
Wed, 19 Oct 2016 18:38:34 +0000 (18:38 +0000)
commit04262986a0b112de5f6f0b287447319c31ef15f9
tree73a3cd1b6f2fd4f96344994405b6f7ec6b8bffd3
parent5378dd77684e2eee5f05aab4b77497bb635fd544
archive/tar: compact slices in tests

Took this opportunity to also embed tables in the functions
that they are actually used in and other stylistic cleanups.

There was no logical changes to the tests.

Change-Id: Ifa724060532175f6f4407d6cedc841891efd8f7b
Reviewed-on: https://go-review.googlesource.com/31436
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/archive/tar/reader_test.go
src/archive/tar/tar_test.go
src/archive/tar/writer_test.go