Remove/replace SetOutput on Command - deprecated (#1078)
Replace SetOutput on Command - deprecated
This commit is contained in:
parent
47414285f9
commit
7fead4bf3b
@ -1814,7 +1814,8 @@ func (tc *calledAsTestcase) test(t *testing.T) {
|
||||
parent.SetArgs(tc.args)
|
||||
|
||||
output := new(bytes.Buffer)
|
||||
parent.SetOutput(output)
|
||||
parent.SetOut(output)
|
||||
parent.SetErr(output)
|
||||
|
||||
parent.Execute()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user