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

Struct TestCase

diffmatchpatch/diff_test.go:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63func TestDiffCommonPrefix(t *testing.T) {
64 type TestCase struct {
65 Name string
66
67 Text1 string
68 Text2 string
69
70 Expected int
71 }
72
73 dmp := New()
74

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected