Skip to content

Commit

Permalink
Fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
belimawr committed Sep 13, 2024
1 parent 39fa2d1 commit 1e9dcf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libbeat/esleg/eslegclient/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ func TestReadSearchResult_invalid(t *testing.T) {
assert.Error(t, err)
}

// nolint: unused // it's used by files with the !integration constraint

Check failure on line 173 in libbeat/esleg/eslegclient/api_test.go

View workflow job for this annotation

GitHub Actions / lint (linux)

directive `// nolint: unused // it's used by files with the !integration constraint` should be written without leading space as `//nolint: unused // it's used by files with the !integration constraint` (nolintlint)
func newTestConnection(t *testing.T, url string) *Connection {
conn, _ := NewConnection(ConnectionSettings{
URL: url,
Expand Down

0 comments on commit 1e9dcf4

Please sign in to comment.