Adopt the native CommandKit application boundary
This commit is contained in:
@@ -211,7 +211,7 @@ func TestBoundedRunCommandHelp(t *testing.T) {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
var stdout bytes.Buffer
|
||||
var stderr bytes.Buffer
|
||||
if code := Execute(test.args, &stdout, &stderr); code != 0 {
|
||||
if code := executeForTest(test.args, &stdout, &stderr); code != 0 {
|
||||
t.Fatalf("exit code = %d, stderr = %q", code, stderr.String())
|
||||
}
|
||||
if !strings.Contains(stdout.String(), test.want) || stderr.Len() != 0 {
|
||||
|
||||
Reference in New Issue
Block a user