From 3d000f3e5f0097385bd5a232a7ecd5dc2611c4fa Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Thu, 26 May 2016 16:50:29 -0700 Subject: [PATCH] fix a test error msg --- balancer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/balancer_test.go b/balancer_test.go index 976432f4..9d8d2bcd 100644 --- a/balancer_test.go +++ b/balancer_test.go @@ -263,7 +263,7 @@ func TestCloseWithPendingRPC(t *testing.T) { defer wg.Done() var reply string if err := Invoke(context.Background(), "/foo/bar", &expectedRequest, &reply, cc); err == nil { - t.Errorf("grpc.Invoke(_, _, _, _, _) = %v, want not", err) + t.Errorf("grpc.Invoke(_, _, _, _, _) = %v, want not nil", err) } }() go func() {