Skip to content

Commit

Permalink
Fix go fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse committed Oct 6, 2021
1 parent 0863caa commit 8e66586
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libbeat/kibana/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ func TestServiceToken(t *testing.T) {
kibanaTs := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(`{}`))

assert.Equal(t, "Bearer " + serviceToken, r.Header.Get("Authorization"))
assert.Equal(t, "Bearer "+serviceToken, r.Header.Get("Authorization"))
}))
defer kibanaTs.Close()

conn := Connection{
URL: kibanaTs.URL,
HTTP: http.DefaultClient,
URL: kibanaTs.URL,
HTTP: http.DefaultClient,
ServiceToken: serviceToken,
}
code, _, err := conn.Request(http.MethodPost, "", url.Values{}, http.Header{"foo": []string{"bar"}}, nil)
Expand Down

0 comments on commit 8e66586

Please sign in to comment.