diff options
Diffstat (limited to 'internal/config/config_test.go')
-rw-r--r-- | internal/config/config_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 7fa2b253..f9e9b2a0 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -48,7 +48,9 @@ func TestGitLabServerFromFlags(t *testing.T) { gitLabServer = &test.gitLabServer gitLabAuthServer = &test.gitLabAuthServer artifactsServer = &test.artifactsServer - require.Equal(t, test.expected, gitlabServerFromFlags()) + gServer, err := gitlabServerFromFlags() + require.NoError(t, err) + require.Equal(t, test.expected, gServer) }) } } |