(t *testing.T)
| 796 | } |
| 797 | |
| 798 | func TestLogEventWithEmptySpan(t *testing.T) { |
| 799 | tracer := tracingtest.NewTracer() |
| 800 | tracing := newProxyTracing(&OpenTracingParams{ |
| 801 | Tracer: tracer, |
| 802 | }) |
| 803 | |
| 804 | // should not panic |
| 805 | tracing.logEvent(nil, "test", StartEvent) |
| 806 | tracing.logEvent(nil, "test", EndEvent) |
| 807 | } |
| 808 | |
| 809 | func TestSetTagWithEmptySpan(t *testing.T) { |
| 810 | tracer := tracingtest.NewTracer() |
nothing calls this directly
no test coverage detected
searching dependent graphs…