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

Function mismatchErrorString

server/db/rethinkdb/tests/rethink_test.go:1546–1548  ·  view source on GitHub ↗

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

(key string, got, want any)

Source from the content-addressed store, hash-verified

1544
1545// ================================================================
1546func mismatchErrorString(key string, got, want any) string {
1547 return fmt.Sprintf("%s mismatch:\nGot = %+v\nWant = %+v", key, got, want)
1548}
1549
1550func init() {
1551 logs.Init(os.Stderr, "stdFlags")

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…