diff options
Diffstat (limited to 'internal/httprange/resource_test.go')
-rw-r--r-- | internal/httprange/resource_test.go | 2 |
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) |