From 1d5e80b387fe6e2d4398ba03d38bf7ddeda03e70 Mon Sep 17 00:00:00 2001 From: feistel <6742251-feistel@users.noreply.gitlab.com> Date: Thu, 22 Apr 2021 18:06:23 +0200 Subject: Fix failing test because comparing the error message against a capialized string --- internal/source/gitlab/gitlab_poll_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') 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 } -- cgit v1.2.3