Skip to content

Commit 4741525

Browse files
committed
rpc_util: rename remaining compressWithDeterministicError caller
A new caller of the helper was added on master while this branch was open, breaking the build after the rename. Update the merged-in TestDecompress_ClosesReader to use mustCompress.
1 parent 5617537 commit 4741525

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rpc_util_test.go

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

676676
ch := make(chan struct{})
677677
compressor := &fakeCloseCompressor{ch: ch}
678-
in := compressWithDeterministicError(t, []byte("some data"))
678+
in := mustCompress(t, []byte("some data"))
679679
out, err := decompress(compressor, in, nil, tc.maxReceiveMessageSize, mem.DefaultBufferPool())
680680
if status.Code(err) != tc.wantCode {
681681
t.Fatalf("decompress() failed with error code %v, want %v", status.Code(err), tc.wantCode)

0 commit comments

Comments
 (0)