MCPcopy Create free account
hub / github.com/basecamp/hey-cli / TestUnseenMultiple

Function TestUnseenMultiple

internal/cmd/seen_test.go:157–168  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

155}
156
157func TestUnseenMultiple(t *testing.T) {
158 server := seenServer(t)
159 defer server.Close()
160
161 resp, err := runUnseen(t, server, "12345", "67890")
162 if err != nil {
163 t.Fatalf("execute: %v", err)
164 }
165 if resp.Summary != "2 posting(s) marked as unseen" {
166 t.Errorf("summary = %q, want %q", resp.Summary, "2 posting(s) marked as unseen")
167 }
168}
169
170func TestUnseenNoArgs(t *testing.T) {
171 server := seenServer(t)

Callers

nothing calls this directly

Calls 2

seenServerFunction · 0.85
runUnseenFunction · 0.85

Tested by

no test coverage detected