Fix a test file log error
This commit is contained in:
@@ -287,7 +287,7 @@ func TestAnonymousConfig(t *testing.T) {
|
|||||||
_, actualError := actual.Dial(context.Background(), "", "")
|
_, actualError := actual.Dial(context.Background(), "", "")
|
||||||
_, expectedError := expected.Dial(context.Background(), "", "")
|
_, expectedError := expected.Dial(context.Background(), "", "")
|
||||||
if !reflect.DeepEqual(expectedError, actualError) {
|
if !reflect.DeepEqual(expectedError, actualError) {
|
||||||
t.Fatalf("CopyConfig dropped the Dial field")
|
t.Fatalf("AnonymousClientConfig dropped the Dial field")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
actual.Dial = nil
|
actual.Dial = nil
|
||||||
|
|||||||
Reference in New Issue
Block a user