MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / equalStr

Function equalStr

IceFireDB-PubSub/test/test_test.go:59–64  ·  view source on GitHub ↗
(tb testing.TB, want, have string)

Source from the content-addressed store, hash-verified

57}
58
59func equalStr(tb testing.TB, want, have string) {
60 tb.Helper()
61 if have != want {
62 tb.Errorf("want: %q have: %q", want, have)
63 }
64}
65
66// mustFail compares the error strings
67func mustFail(tb testing.TB, err error, want string) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected