Removed unused variable breaking gorename
This commit is contained in:
parent
28a13111b8
commit
da20c36454
|
@ -122,10 +122,8 @@ func TestPush_noName(t *testing.T) {
|
||||||
|
|
||||||
func TestPush_cliName(t *testing.T) {
|
func TestPush_cliName(t *testing.T) {
|
||||||
var actual []string
|
var actual []string
|
||||||
var actualOpts *uploadOpts
|
|
||||||
uploadFn := func(r io.Reader, opts *uploadOpts) (<-chan struct{}, <-chan error, error) {
|
uploadFn := func(r io.Reader, opts *uploadOpts) (<-chan struct{}, <-chan error, error) {
|
||||||
actual = testArchive(t, r)
|
actual = testArchive(t, r)
|
||||||
actualOpts = opts
|
|
||||||
|
|
||||||
doneCh := make(chan struct{})
|
doneCh := make(chan struct{})
|
||||||
close(doneCh)
|
close(doneCh)
|
||||||
|
|
Loading…
Reference in New Issue