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

Function TestNewAliasUnsetCommand_Run

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

Source from the content-addressed store, hash-verified

254}
255
256func TestNewAliasUnsetCommand_Run(t *testing.T) {
257 cleanup := setupTempConfigWithServers(t)
258 defer cleanup()
259
260 cmd := NewAliasUnsetCommand()
261 cmd.Run(cmd, []string{"myserver"})
262}
263
264func TestNewAliasUnsetCommand_Run_NoMatchingAlias(t *testing.T) {
265 cleanup := setupTempConfigWithServers(t)

Callers

nothing calls this directly

Calls 2

NewAliasUnsetCommandFunction · 0.85

Tested by

no test coverage detected