From db0f0713e3a7f295e167341b621b10cce1fb9ffe Mon Sep 17 00:00:00 2001 From: Jean de Klerk Date: Wed, 11 Apr 2018 10:12:06 -0700 Subject: [PATCH] Small test readability fixes (#1985) --- balancer_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/balancer_test.go b/balancer_test.go index d60fc323..c816ebba 100644 --- a/balancer_test.go +++ b/balancer_test.go @@ -434,7 +434,7 @@ func TestOneAddressRemoval(t *testing.T) { // After sleepDuration, invoke RPC. // server[0] is removed around the same time to make it racy between balancer and gRPC internals. if err := cc.Invoke(context.Background(), "/foo/bar", &expectedRequest, &reply, FailFast(false)); err != nil { - t.Errorf("grpc.Invoke(_, _, _, _, _) = %v, want not nil", err) + t.Errorf("grpc.Invoke(_, _, _, _, _) = %v, want nil", err) } wg.Done() }() @@ -795,7 +795,7 @@ func TestPickFirstOneAddressRemoval(t *testing.T) { // After sleepDuration, invoke RPC. // server[0] is removed around the same time to make it racy between balancer and gRPC internals. if err := cc.Invoke(context.Background(), "/foo/bar", &expectedRequest, &reply, FailFast(false)); err != nil { - t.Errorf("grpc.Invoke(_, _, _, _, _) = %v, want not nil", err) + t.Errorf("grpc.Invoke(_, _, _, _, _) = %v, want nil", err) } wg.Done() }()