mirror of
https://github.com/rclone/rclone.git
synced 2025-12-21 18:53:34 +00:00
vendor: update all dependencies
This commit is contained in:
5
vendor/google.golang.org/api/internal/settings_test.go
generated
vendored
5
vendor/google.golang.org/api/internal/settings_test.go
generated
vendored
@@ -22,6 +22,7 @@ import (
|
||||
"google.golang.org/grpc"
|
||||
|
||||
"golang.org/x/oauth2"
|
||||
"golang.org/x/oauth2/google"
|
||||
)
|
||||
|
||||
func TestSettingsValidate(t *testing.T) {
|
||||
@@ -32,6 +33,7 @@ func TestSettingsValidate(t *testing.T) {
|
||||
{Scopes: []string{"s"}},
|
||||
{CredentialsFile: "f"},
|
||||
{TokenSource: dummyTS{}},
|
||||
{CredentialsFile: "f", TokenSource: dummyTS{}}, // keep for backwards compatibility
|
||||
{HTTPClient: &http.Client{}},
|
||||
{GRPCConn: &grpc.ClientConn{}},
|
||||
// Although NoAuth and Scopes are technically incompatible, too many
|
||||
@@ -50,6 +52,9 @@ func TestSettingsValidate(t *testing.T) {
|
||||
{NoAuth: true, APIKey: "x"},
|
||||
{NoAuth: true, CredentialsFile: "f"},
|
||||
{NoAuth: true, TokenSource: dummyTS{}},
|
||||
{NoAuth: true, Credentials: &google.DefaultCredentials{}},
|
||||
{Credentials: &google.DefaultCredentials{}, CredentialsFile: "f"},
|
||||
{Credentials: &google.DefaultCredentials{}, TokenSource: dummyTS{}},
|
||||
{HTTPClient: &http.Client{}, GRPCConn: &grpc.ClientConn{}},
|
||||
{HTTPClient: &http.Client{}, GRPCDialOpts: []grpc.DialOption{grpc.WithInsecure()}},
|
||||
} {
|
||||
|
||||
Reference in New Issue
Block a user