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

Method Path

codegen/testutil/golden.go:84–87  ·  view source on GitHub ↗

Path sets the golden file path (fluent API)

(path string)

Source from the content-addressed store, hash-verified

82
83// Path sets the golden file path (fluent API)
84func (g *GoldenFile) Path(path string) *GoldenFile {
85 g.path = path
86 return g
87}
88
89// CompareContent performs the golden file comparison
90func (g *GoldenFile) CompareContent() {

Callers 9

TestWithSubtestsFunction · 0.80
TestParallelUpdatesFunction · 0.80
CompareMethod · 0.80
CompareBytesMethod · 0.80
CompareOrUpdateGoldenFunction · 0.80
AssertFunction · 0.80
AssertStringFunction · 0.80
AssertJSONFunction · 0.80
AssertGoFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestWithSubtestsFunction · 0.64
TestParallelUpdatesFunction · 0.64