(changes []FieldChange, path, field string)
| 717 | } |
| 718 | |
| 719 | func findChange(changes []FieldChange, path, field string) (FieldChange, bool) { |
| 720 | for _, change := range changes { |
| 721 | if change.Path == path && change.Field == field { |
| 722 | return change, true |
| 723 | } |
| 724 | } |
| 725 | return FieldChange{}, false |
| 726 | } |
| 727 | |
| 728 | func TestStructuredOutputErrorPaths(t *testing.T) { |
| 729 | ansi.DisableColors(true) |
no outgoing calls
no test coverage detected