Skip to content

Commit

Permalink
fix test data
Browse files Browse the repository at this point in the history
  • Loading branch information
VinozzZ committed Jul 25, 2024
1 parent 808b960 commit 07a4a6c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,12 @@ func TestClientRequest(t *testing.T) {

want := []attribute.KeyValue{
attribute.String("http.request.method", "POST"),
attribute.String("http.request.method_original", "POST"),
attribute.String("http.request.method_original", "pOST"),
attribute.String("url.full", url),
attribute.String("server.address", "example.com"),
attribute.Int("server.port", 8888),
attribute.String("user_agent.original", "go-test-agent"),
attribute.String("network.protocol.version", "1.1"),
}
got := newHTTPClient{}.RequestTraceAttrs(req)
assert.ElementsMatch(t, want, got)
Expand Down

0 comments on commit 07a4a6c

Please sign in to comment.