findToolCallDiffEntry is a test helper to find a tool entry by name
(entries []ToolCallDiffEntry, name string)
| 1456 | |
| 1457 | // findToolCallDiffEntry is a test helper to find a tool entry by name |
| 1458 | func findToolCallDiffEntry(entries []ToolCallDiffEntry, name string) *ToolCallDiffEntry { |
| 1459 | for i := range entries { |
| 1460 | if entries[i].Name == name { |
| 1461 | return &entries[i] |
| 1462 | } |
| 1463 | } |
| 1464 | return nil |
| 1465 | } |
no outgoing calls
no test coverage detected