Fix error formatting based on best practices from Code Review Comments (#2615)
This commit is contained in:

committed by
Menghan Li

parent
d14ffaeb5c
commit
c2f12b83a7
@ -386,7 +386,7 @@ func (s) TestRetryStreaming(t *testing.T) {
|
||||
cCheckElapsed := func(d time.Duration) clientOp {
|
||||
return func(_ testpb.TestService_FullDuplexCallClient) error {
|
||||
if elapsed := time.Since(curTime); elapsed < d {
|
||||
return fmt.Errorf("Elapsed time: %v; want >= %v", elapsed, d)
|
||||
return fmt.Errorf("elapsed time: %v; want >= %v", elapsed, d)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user