Remove/replace SetOutput on Command - deprecated (#1078)
Replace SetOutput on Command - deprecated
This commit is contained in:
		@ -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()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user