Skip to content

Commit 389c89e

Browse files
committed
rpc_util: make test failure message with parameter
1 parent 4282fd5 commit 389c89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experimental/shared_buffer_pool_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func (s) TestRecvBufferPoolUnary(t *testing.T) {
185185

186186
const bufferCount = reqCount * 2 // req + resp
187187
if len(pool.puts) != bufferCount {
188-
t.Fatalf("Expected 10 buffers to be returned to the pool, got %d", len(pool.puts))
188+
t.Fatalf("Expected %d buffers to be returned to the pool, got %d", bufferCount, len(pool.puts))
189189
}
190190
})
191191
}

0 commit comments

Comments
 (0)