Skip to content

Commit

Permalink
v2/contrib/gin-gonic/gin: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
darccio committed Mar 11, 2024
1 parent d54c964 commit 3046444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/contrib/gin-gonic/gin/gintrace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func TestError(t *testing.T) {
assert.Equal("418", span.Tag(ext.HTTPCode))
assert.Equal(fmt.Sprintf("Error #01: %s\n", responseErr), span.Tag("gin.errors"))
// client errors do not set the ext.Error tag
assert.Equal(nil, span.Tag(ext.Error))
assert.Zero(span.Tag(ext.Error))
assert.Equal(ext.SpanKindServer, span.Tag(ext.SpanKind))
assert.Equal("gin-gonic/gin", span.Tag(ext.Component))
})
Expand Down

0 comments on commit 3046444

Please sign in to comment.