MCPcopy Create free account
hub / github.com/goadesign/goa / Content

Method Content

codegen/testutil/golden.go:73–76  ·  view source on GitHub ↗

Content sets the content to compare (fluent API)

(content []byte)

Source from the content-addressed store, hash-verified

71
72// Content sets the content to compare (fluent API)
73func (g *GoldenFile) Content(content []byte) *GoldenFile {
74 g.content = content
75 return g
76}
77
78// StringContent sets string content to compare (fluent API)
79func (g *GoldenFile) StringContent(content string) *GoldenFile {

Callers 5

StringContentMethod · 0.95
CompareBytesMethod · 0.95
AssertFunction · 0.95
AssertJSONFunction · 0.95
AssertGoFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected