MCPcopy Create free account
hub / github.com/Driver-C/tryssh / TestNewTrysshCommand_DisableDefaultCompletion

Function TestNewTrysshCommand_DisableDefaultCompletion

cmd/cmd_test.go:45–50  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

43}
44
45func TestNewTrysshCommand_DisableDefaultCompletion(t *testing.T) {
46 rootCmd := NewTrysshCommand()
47
48 assert.True(t, rootCmd.CompletionOptions.DisableDefaultCmd,
49 "CompletionOptions.DisableDefaultCmd should be true")
50}
51
52func TestNewTrysshCommand_SubcommandCount(t *testing.T) {
53 rootCmd := NewTrysshCommand()

Callers

nothing calls this directly

Calls 1

NewTrysshCommandFunction · 0.85

Tested by

no test coverage detected