Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devspace-sh/devspace
/ TestTTY
Function
TestTTY
pkg/util/terminal/tty_test.go:11–17 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
9
)
10
11
func
TestTTY(t *testing.T) {
12
buf := make([]byte, 1000)
13
writer := bytes.NewBuffer(buf)
14
15
_, tty := SetupTTY(os.Stdin, writer)
16
assert.Equal(t, false, tty.Raw,
"Raw terminal that doesn't got a terminal stdin"
)
17
}
Callers
nothing calls this directly
Calls
2
SetupTTY
Function · 0.85
Equal
Method · 0.80
Tested by
no test coverage detected