MCPcopy Create free account
hub / github.com/cogentcore/core / assertEqual

Function assertEqual

texteditor/difflib/difflib_test.go:21–25  ·  view source on GitHub ↗
(t *testing.T, a, b any)

Source from the content-addressed store, hash-verified

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

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected