MCPcopy
hub / github.com/cornelk/hashmap / fail

Function fail

assert/assert.go:31–38  ·  view source on GitHub ↗
(t *testing.T, message string, errorMessage ...string)

Source from the content-addressed store, hash-verified

29}
30
31func fail(t *testing.T, message string, errorMessage ...string) {
32 t.Helper()
33 if len(errorMessage) != 0 {
34 message = fmt.Sprintf("%s\n%s", message, errorMessage)
35 }
36 t.Errorf(message)
37 t.FailNow()
38}
39
40// Equal asserts that two objects are equal.
41func Equal(t *testing.T, expected, actual any, errorMessage ...string) {

Callers 3

EqualFunction · 0.85
TrueFunction · 0.85
FalseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…