fakeQuery is a fake Query implementation.
| 4982 | |
| 4983 | // fakeQuery is a fake Query implementation. |
| 4984 | type fakeQuery struct { |
| 4985 | query string |
| 4986 | execCalls []context.Context |
| 4987 | } |
| 4988 | |
| 4989 | func (q *fakeQuery) Exec(ctx context.Context) *promql.Result { |
| 4990 | q.execCalls = append(q.execCalls, ctx) |
nothing calls this directly
no outgoing calls
no test coverage detected