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

Function TestNotificationCommandAliases

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.80

Tested by

no test coverage detected