Skip to content

Commit 4442797

Browse files
committed
remove double import
1 parent 33a3d8e commit 4442797

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

instrumentation/github.com/gin-gonic/gin/otelgin/test/gintrace_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525
"go.opentelemetry.io/otel/trace"
2626

2727
"go.opentelemetry.io/otel/attribute"
28-
oteltrace "go.opentelemetry.io/otel/trace"
2928
)
3029

3130
func init() {
@@ -86,7 +85,7 @@ func TestTrace200(t *testing.T) {
8685
require.Len(t, spans, 1)
8786
span := spans[0]
8887
assert.Equal(t, "/user/:id", span.Name())
89-
assert.Equal(t, oteltrace.SpanKindServer, span.SpanKind())
88+
assert.Equal(t, trace.SpanKindServer, span.SpanKind())
9089
attr := span.Attributes()
9190
assert.Contains(t, attr, attribute.String("net.host.name", "foobar"))
9291
assert.Contains(t, attr, attribute.Int("http.status_code", http.StatusOK))

0 commit comments

Comments
 (0)