Skip to content

Commit

Permalink
small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
vinothkumarr227 committed Dec 24, 2024
1 parent 84e8a4f commit 77ea230
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rpc_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,9 @@ func (s) TestDecompress(t *testing.T) {
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
output, err := decompress(compressor, tc.input, tc.maxReceiveMessageSize, mem.DefaultBufferPool())

if !cmp.Equal(err, tc.wantErr, cmpopts.EquateErrors()) {
t.Fatalf("decompress() error = %v, wantErr = %v", err, tc.wantErr)
t.Fatalf("decompress() err = %v, wantErr = %v", err, tc.wantErr)
}

if !cmp.Equal(tc.want, output.Materialize()) {
t.Fatalf("decompress() output mismatch: got = %v, want = %v", output.Materialize(), tc.want)
}
Expand Down

0 comments on commit 77ea230

Please sign in to comment.