Fix a test file log error

This commit is contained in:
Zhao Yuwei 2018-12-27 10:52:34 +08:00
parent d61286987d
commit a0c9d126e4

View File

@ -287,7 +287,7 @@ func TestAnonymousConfig(t *testing.T) {
_, actualError := actual.Dial(context.Background(), "", "")
_, expectedError := expected.Dial(context.Background(), "", "")
if !reflect.DeepEqual(expectedError, actualError) {
t.Fatalf("CopyConfig dropped the Dial field")
t.Fatalf("AnonymousClientConfig dropped the Dial field")
}
} else {
actual.Dial = nil