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