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

Function TestNewAliasSetCommand_DefaultTargetValue

cmd/alias/alias_test.go:279–284  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

277}
278
279func TestNewAliasSetCommand_DefaultTargetValue(t *testing.T) {
280 cmd := NewAliasSetCommand()
281 val, err := cmd.Flags().GetString("target")
282 assert.NoError(t, err)
283 assert.Equal(t, "", val)
284}
285
286func TestNewAliasListCommand_NoArgs(t *testing.T) {
287 cmd := NewAliasListCommand()

Callers

nothing calls this directly

Calls 1

NewAliasSetCommandFunction · 0.85

Tested by

no test coverage detected