We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9d8ea65 + e78fdc9 commit 364d9abCopy full SHA for 364d9ab
testhelpers/terminal/test_ui.go
@@ -4,6 +4,7 @@ import (
4
"bytes"
5
"fmt"
6
"io"
7
+ "os"
8
"strings"
9
10
term "github.com/IBM-Cloud/ibm-cloud-cli-sdk/bluemix/terminal"
@@ -35,6 +36,9 @@ type FakeUI struct {
35
36
}
37
38
func NewFakeUI() *FakeUI {
39
+ // NOTE: when mocking the UI we would like to have a large
40
+ /// terminal width to start with
41
+ os.Setenv("TEST_TERMINAL_WIDTH", "300")
42
return &FakeUI{}
43
44
0 commit comments