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

Function TestMailViewHelpBindingsInThread

internal/tui/mail_test.go:286–293  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

284 if !consumed {
285 t.Error("topicLoadedMsg should be consumed")
286 }
287 if !v.inThread || v.topicID != 100 || v.topicName != "Test topic" {
288 t.Errorf("thread state = open:%v id:%d name:%q", v.inThread, v.topicID, v.topicName)
289 }
290 if v.requests.loading {
291 t.Error("loading should be false")
292 }
293}
294
295// A thread heads its messages with the centered subject, and a blank line
296// separates each message header from the content under it.

Callers

nothing calls this directly

Calls 3

mailWithPostingsFunction · 0.85
HelpBindingsMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected