mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 19:30:44 +00:00
Apply suggestion from @jrhea
This commit is contained in:
parent
1bbda12502
commit
f2efd277fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue