MCPcopy Create free account
hub / github.com/cli/cli / TestListHeader

Function TestListHeader

pkg/cmd/event/subscription/list/list_test.go:220–223  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

218}
219
220func TestListHeader(t *testing.T) {
221 assert.Equal(t, "Showing 1 event subscription", listHeader(1, 30))
222 assert.Equal(t, "Showing the 30 most recent event subscriptions", listHeader(30, 30))
223}
224
225func TestListRunDefaultHost(t *testing.T) {
226 ios, _, stdout, stderr := iostreams.Test()

Callers

nothing calls this directly

Calls 2

EqualMethod · 0.80
listHeaderFunction · 0.70

Tested by

no test coverage detected