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

Function makeDiff

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected