Skip to content

Commit 1962e97

Browse files
committed
Fix naming
1 parent c0e52dd commit 1962e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expect/test_console.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var (
1616
stripAnsi = regexp.MustCompile("[\u001B\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))")
1717
)
1818

19-
// NewConsole creates a new TTY bound to the command provided.
19+
// NewTestConsole creates a new TTY bound to the command provided.
2020
// All ANSI escape codes are stripped to provide clean output.
2121
func NewTestConsole(t *testing.T, cmd *cobra.Command) *Console {
2222
reader, writer := io.Pipe()

0 commit comments

Comments
 (0)