()
| 42 | } |
| 43 | |
| 44 | func 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 | |
| 59 | func TestResolveComment_TextMatchSuccess(t *testing.T) { |
| 60 | cm := model.LlmComment{ |
no outgoing calls
no test coverage detected