MCPcopy
hub / github.com/dnote/dnote / getErrorMessage

Function getErrorMessage

pkg/assert/assert.go:32–45  ·  view source on GitHub ↗
(m string, a, b interface{})

Source from the content-addressed store, hash-verified

30)
31
32func getErrorMessage(m string, a, b interface{}) string {
33 return fmt.Sprintf(`%s.
34Actual:
35========================
36%+v
37========================
38
39Expected:
40========================
41%+v
42========================
43
44%s`, m, a, b, string(debug.Stack()))
45}
46
47func checkEqual(a, b interface{}, message string) (bool, string) {
48 if a == b {

Callers 2

checkEqualFunction · 0.85
DeepEqualFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected