diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-04-22 19:06:23 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-04-22 19:06:23 +0300 |
commit | 1d5e80b387fe6e2d4398ba03d38bf7ddeda03e70 (patch) | |
tree | d3eec8eed74ef5bcdcf7abcae5e03ea964fbcd73 /internal | |
parent | c04f97bdbfa7ae5f1eb732791a3eaa04c8f241d6 (diff) |
Fix failing test because comparing the error message against a capialized string
Diffstat (limited to 'internal')
-rw-r--r-- | internal/source/gitlab/gitlab_poll_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/source/gitlab/gitlab_poll_test.go b/internal/source/gitlab/gitlab_poll_test.go index fb2be173..33f9f6a4 100644 --- a/internal/source/gitlab/gitlab_poll_test.go +++ b/internal/source/gitlab/gitlab_poll_test.go @@ -67,7 +67,7 @@ func TestClient_Poll(t *testing.T) { if tt.expectedFail { require.False(t, glClient.isReady) - s := fmt.Sprintf("Failed to connect to the internal GitLab API after %.2fs", tt.maxTime.Seconds()) + s := fmt.Sprintf("failed to connect to the internal GitLab API after %.2fs", tt.maxTime.Seconds()) require.Equal(t, s, hook.LastEntry().Message) return } |