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

Function assertEqual

texteditor/difflib/bytes/bytes_test.go:22–26  ·  view source on GitHub ↗
(t *testing.T, a, b interface{})

Source from the content-addressed store, hash-verified

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

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected