(parts []fantasy.StreamPart)
| 938 | } |
| 939 | |
| 940 | func partsToSeq(parts []fantasy.StreamPart) fantasy.StreamResponse { |
| 941 | return func(yield func(fantasy.StreamPart) bool) { |
| 942 | for _, part := range parts { |
| 943 | if !yield(part) { |
| 944 | return |
| 945 | } |
| 946 | } |
| 947 | } |
| 948 | } |
| 949 | |
| 950 | func TestDebugModel_GenerateObject(t *testing.T) { |
| 951 | t.Parallel() |
no outgoing calls
no test coverage detected