(t *testing.T, name string, out versionedDecoder, in []byte, version int16)
| 591 | } |
| 592 | |
| 593 | func testVersionDecodable(t *testing.T, name string, out versionedDecoder, in []byte, version int16) { |
| 594 | t.Helper() |
| 595 | err := versionedDecode(in, out, version, nil) |
| 596 | if err != nil { |
| 597 | t.Error("Decoding", name, "version", version, "failed:", err) |
| 598 | } |
| 599 | } |
| 600 | |
| 601 | func testRequest(t *testing.T, name string, rb protocolBody, expected []byte) { |
| 602 | t.Helper() |
no test coverage detected