MCPcopy Create free account
hub / github.com/sergi/go-diff / TestCase

Struct TestCase

diffmatchpatch/stringutil_test.go:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18func TestRunesIndexOf(t *testing.T) {
19 type TestCase struct {
20 Pattern string
21 Start int
22
23 Expected int
24 }
25
26 for i, tc := range []TestCase{
27 {"abc", 0, 0},

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected