Skip to content

Commit

Permalink
fix: lint fmt
Browse files Browse the repository at this point in the history
Signed-off-by: guanwenbo <guanwenbostar@163.com>
  • Loading branch information
guanwenbogit committed Dec 23, 2020
1 parent 64f845f commit 31a03b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config_test.go
Expand Up @@ -908,10 +908,10 @@ func TestWithRandomNumber(t *testing.T) {
}
randomNum := func() uint64 { return traceID }
tracer, closer, err := cfg.NewTracer(WithRandomNumber(randomNum))
span:=tracer.StartSpan("test-span")
span := tracer.StartSpan("test-span")
spanCtx := span.Context().(jaeger.SpanContext)

assert.NoError(t, err)
assert.Equal(t, spanCtx.TraceID().Low ,traceID)
assert.Equal(t, spanCtx.TraceID().Low, traceID)
defer closeCloser(t, closer)
}

0 comments on commit 31a03b9

Please sign in to comment.