MCPcopy
hub / github.com/caddyserver/certmagic / RequireEqualValues

Function RequireEqualValues

internal/testutil/testutil.go:42–48  ·  view source on GitHub ↗
(t *testing.T, a, b any, msgAndArgs ...string)

Source from the content-addressed store, hash-verified

40 }
41}
42func RequireEqualValues(t *testing.T, a, b any, msgAndArgs ...string) {
43 if !ObjectsAreEqualValues(a, b) {
44 Failnow(t, fmt.Sprintf("Not equal: \n"+
45 "expected: %v\n"+
46 "actual : %v", a, b), msgAndArgs...)
47 }
48}
49
50func Fail(t testing.TB, xs string, msgs ...string) {
51 var testName string

Callers 2

TestFileStorageStoreLoadFunction · 0.92

Calls 2

ObjectsAreEqualValuesFunction · 0.85
FailnowFunction · 0.85

Tested by 2

TestFileStorageStoreLoadFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…