Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Fix string assert in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
lesovsky committed Mar 26, 2021
1 parent 0fe074b commit a030083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pgscv/pgscv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func Test_runMetricsListener(t *testing.T) {
assert.Equal(t, resp.StatusCode, http.StatusOK)
body, err := io.ReadAll(resp.Body)
assert.NoError(t, err)
assert.Contains(t, string(body), "pgSCV / Weaponry metric collector, for more info visit https://weaponry.io")
assert.Contains(t, string(body), "pgSCV / Weaponry metric collector, for more info visit https://github.com/weaponry/pgscv")
assert.NoError(t, resp.Body.Close())

// Make request to '/metrics' and assert response.
Expand Down

0 comments on commit a030083

Please sign in to comment.