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

Function TestUnseenInvalidID

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

Source from the content-addressed store, hash-verified

181}
182
183func TestUnseenInvalidID(t *testing.T) {
184 server := seenServer(t)
185 defer server.Close()
186
187 _, err := runUnseen(t, server, "abc")
188 if err == nil {
189 t.Fatal("expected error for non-numeric ID")
190 }
191}

Callers

nothing calls this directly

Calls 2

seenServerFunction · 0.85
runUnseenFunction · 0.85

Tested by

no test coverage detected