Brush all the lint off this code I wrote in a haze
This commit is contained in:
@@ -11,15 +11,15 @@ func TestNewUpgrade(t *testing.T) {
|
||||
defer ctrl.Finish()
|
||||
|
||||
mCmd := NewMockcmd(ctrl)
|
||||
originalCommand := Command
|
||||
originalCommand := command
|
||||
|
||||
Command = func(path string, args ...string) cmd {
|
||||
assert.Equal(t, HELM_BIN, path)
|
||||
command = func(path string, args ...string) cmd {
|
||||
assert.Equal(t, helmBin, path)
|
||||
assert.Equal(t, []string{"upgrade", "--install", "jonas_brothers_only_human", "at40"}, args)
|
||||
|
||||
return mCmd
|
||||
}
|
||||
defer func() { Command = originalCommand }()
|
||||
defer func() { command = originalCommand }()
|
||||
|
||||
mCmd.EXPECT().
|
||||
Stdout(gomock.Any())
|
||||
|
||||
Reference in New Issue
Block a user