MCPcopy
hub / github.com/google/go-cmp / assert

Function assert

cmp/report.go:50–54  ·  view source on GitHub ↗
(ok bool)

Source from the content-addressed store, hash-verified

48}
49
50func assert(ok bool) {
51 if !ok {
52 panic("assertion failure")
53 }
54}

Callers 9

FormatDiffSliceMethod · 0.85
formatDiffSliceMethod · 0.85
resolveReferencesFunction · 0.85
FormatDiffMethod · 0.85
formatDiffListMethod · 0.85
PushStepMethod · 0.85
ReportMethod · 0.85
AppendMethod · 0.85
StringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected