MCPcopy
hub / github.com/tinode/chat / mismatchErrorString

Function mismatchErrorString

server/db/postgres/tests/postgres_test.go:1378–1380  ·  view source on GitHub ↗

================================================================

(key string, got, want any)

Source from the content-addressed store, hash-verified

1376
1377// ================================================================
1378func mismatchErrorString(key string, got, want any) string {
1379 return fmt.Sprintf("%s mismatch:\nGot = %+v\nWant = %+v", key, got, want)
1380}
1381
1382func init() {
1383 ctx = context.Background()

Callers 15

TestUserGetFunction · 0.70
TestUserGetAllFunction · 0.70
TestUserGetByCredFunction · 0.70
TestCredGetActiveFunction · 0.70
TestCredGetAllFunction · 0.70
TestAuthGetUniqueRecordFunction · 0.70
TestAuthGetRecordFunction · 0.70
TestTopicGetFunction · 0.70
TestTopicsForUserFunction · 0.70
TestUsersForTopicFunction · 0.70
TestChannelsForUserFunction · 0.70
TestSubscriptionGetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…