Apply suggestion from @jrhea

This commit is contained in:
Jonny Rhea 2026-02-12 21:21:44 -06:00 committed by GitHub
parent 1bbda12502
commit f2efd277fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -167,7 +167,7 @@ func TestTracingHTTPErrorRecording(t *testing.T) {
} }
spans := exporter.GetSpans() spans := exporter.GetSpans()
// Only the server span and runMethod span should have error status. // Only the runMethod span should have error status.
if len(spans) == 0 { if len(spans) == 0 {
t.Fatal("no spans were emitted") t.Fatal("no spans were emitted")
} }