MCPcopy Create free account
hub / github.com/matcornic/hermes / assertHTMLContent

Method assertHTMLContent

hermes_test.go:281–284  ·  view source on GitHub ↗
(t *testing.T, r string)

Source from the content-addressed store, hash-verified

279}
280
281func (ed *WithInviteCode) assertHTMLContent(t *testing.T, r string) {
282 assert.Contains(t, r, "Here is your invite code", "Should contains the instruction")
283 assert.Contains(t, r, "123456", "Should contain the short code")
284}
285
286func (ed *WithInviteCode) assertPlainTextContent(t *testing.T, r string) {
287 assert.Contains(t, r, "Here is your invite code", "Should contains the instruction")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected