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

Function TestSeenSingle

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

Source from the content-addressed store, hash-verified

93}
94
95func TestSeenSingle(t *testing.T) {
96 server := seenServer(t)
97 defer server.Close()
98
99 resp, err := runSeen(t, server, "12345")
100 if err != nil {
101 t.Fatalf("execute: %v", err)
102 }
103 if resp.Summary != "1 thread marked as seen" {
104 t.Errorf("summary = %q, want %q", resp.Summary, "1 thread marked as seen")
105 }
106}
107
108func TestSeenMultiple(t *testing.T) {
109 server := seenServer(t)

Callers

nothing calls this directly

Calls 2

seenServerFunction · 0.85
runSeenFunction · 0.85

Tested by

no test coverage detected