Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2021-04-22 19:06:23 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2021-04-22 19:06:23 +0300
commit1d5e80b387fe6e2d4398ba03d38bf7ddeda03e70 (patch)
treed3eec8eed74ef5bcdcf7abcae5e03ea964fbcd73 /internal
parentc04f97bdbfa7ae5f1eb732791a3eaa04c8f241d6 (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.go2
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
}