MCPcopy Create free account
hub / github.com/alibaba/open-code-review / makeDiff

Function makeDiff

internal/diff/relocation_test.go:43–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func makeDiff() *model.Diff {
44 return &model.Diff{
45 NewPath: "main.go",
46 Diff: `@@ -10,6 +10,8 @@
47 import "fmt"
48
49 func main() {
50+ x := 1
51+ y := 2
52 fmt.Println("hello")
53 }
54`,
55 }
56}
57
58func TestResolveComment_TextMatchSuccess(t *testing.T) {
59 cm := model.LlmComment{

Calls

no outgoing calls

Tested by

no test coverage detected