Skip to content

Commit

Permalink
test(transport/grpc): fix arg for test failure logs (#1733)
Browse files Browse the repository at this point in the history
This pull request fixes arg for test failure logs in `transport/grpc/pool_test.go`
  • Loading branch information
dragon3 committed Nov 1, 2022
1 parent 06360d8 commit 0ce5403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transport/grpc/pool_test.go
Expand Up @@ -24,15 +24,15 @@ func TestPool(t *testing.T) {
}

if got := pool.Conn(); got != conn2 {
t.Errorf("pool.Conn() #1 got %v; want conn2 (%v)", got, conn1)
t.Errorf("pool.Conn() #1 got %v; want conn2 (%v)", got, conn2)
}

if got := pool.Conn(); got != conn1 {
t.Errorf("pool.Conn() #2 got %v; want conn1 (%v)", got, conn1)
}

if got := pool.Conn(); got != conn2 {
t.Errorf("pool.Conn() #3 got %v; want conn2 (%v)", got, conn1)
t.Errorf("pool.Conn() #3 got %v; want conn2 (%v)", got, conn2)
}
}

Expand Down

0 comments on commit 0ce5403

Please sign in to comment.