MCPcopy Index your code
hub / github.com/coder/coder / cmpAttrKeyVal

Function cmpAttrKeyVal

aibridge/internal/integrationtest/trace_internal_test.go:806–808  ·  view source on GitHub ↗
(a attribute.KeyValue, b attribute.KeyValue)

Source from the content-addressed store, hash-verified

804}
805
806func 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
811func verifyTraces(t *testing.T, spanRecorder *tracetest.SpanRecorder, expect []expectTrace, attrs []attribute.KeyValue) {

Callers

nothing calls this directly

Calls 1

CompareMethod · 0.80

Tested by

no test coverage detected