Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sergi/go-diff
/ TestCase
Struct
TestCase
diffmatchpatch/patch_test.go:20–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
19
func
TestPatchString(t *testing.T) {
20
type
TestCase
struct
{
21
Patch Patch
22
23
Expected string
24
}
25
26
for
i, tc :=
range
[]TestCase{
27
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected