MCPcopy Create free account
hub / github.com/cronitorio/cronitor-cli / TestMaintenanceCommandAliases

Function TestMaintenanceCommandAliases

cmd/maintenance_test.go:54–66  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

52}
53
54func TestMaintenanceCommandAliases(t *testing.T) {
55 aliases := maintenanceCmd.Aliases
56 found := false
57 for _, alias := range aliases {
58 if alias == "maint" {
59 found = true
60 break
61 }
62 }
63 if !found {
64 t.Error("Expected alias 'maint' not found")
65 }
66}

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.80

Tested by

no test coverage detected