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

Function TestSeenMultiple

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

Source from the content-addressed store, hash-verified

106}
107
108func TestSeenMultiple(t *testing.T) {
109 server := seenServer(t)
110 defer server.Close()
111
112 resp, err := runSeen(t, server, "12345", "67890")
113 if err != nil {
114 t.Fatalf("execute: %v", err)
115 }
116 if resp.Summary != "2 threads marked as seen" {
117 t.Errorf("summary = %q, want %q", resp.Summary, "2 threads marked as seen")
118 }
119}
120
121func TestSeenNoArgs(t *testing.T) {
122 server := seenServer(t)

Callers

nothing calls this directly

Calls 2

seenServerFunction · 0.85
runSeenFunction · 0.85

Tested by

no test coverage detected