MCPcopy
hub / github.com/expr-lang/expr / assertEqual

Function assertEqual

internal/difflib/difflib_test.go:18–22  ·  view source on GitHub ↗
(t *testing.T, a, b interface{})

Source from the content-addressed store, hash-verified

16}
17
18func assertEqual(t *testing.T, a, b interface{}) {
19 if !reflect.DeepEqual(a, b) {
20 t.Errorf("%v != %v", a, b)
21 }
22}
23
24func splitChars(s string) []string {
25 chars := make([]string, 0, len(s))

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…