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:
Diffstat (limited to 'internal/httprange/resource_test.go')
-rw-r--r--internal/httprange/resource_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/httprange/resource_test.go b/internal/httprange/resource_test.go
index 1d6481fc..6b1d9c72 100644
--- a/internal/httprange/resource_test.go
+++ b/internal/httprange/resource_test.go
@@ -91,7 +91,7 @@ func TestNewResource(t *testing.T) {
}))
defer testServer.Close()
- got, err := NewResource(context.Background(), testServer.URL+tt.url)
+ got, err := NewResource(context.Background(), testServer.URL+tt.url, testClient)
if tt.expectedErrMsg != "" {
require.Error(t, err)
require.Contains(t, err.Error(), tt.expectedErrMsg)