Function
cmpAttrKeyVal
(a attribute.KeyValue, b attribute.KeyValue)
Source from the content-addressed store, hash-verified
| 804 | } |
| 805 | |
| 806 | func cmpAttrKeyVal(a attribute.KeyValue, b attribute.KeyValue) int { |
| 807 | return strings.Compare(string(a.Key), string(b.Key)) |
| 808 | } |
| 809 | |
| 810 | // checks counts of traces with given name, status and attributes |
| 811 | func verifyTraces(t *testing.T, spanRecorder *tracetest.SpanRecorder, expect []expectTrace, attrs []attribute.KeyValue) { |
Callers
nothing calls this directly
Tested by
no test coverage detected