From 77ea2307ecfe38af28f7ce24a64beb7146fb4465 Mon Sep 17 00:00:00 2001 From: Vinothkumar Date: Tue, 24 Dec 2024 06:58:59 +0000 Subject: [PATCH] small tweaks --- rpc_util_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rpc_util_test.go b/rpc_util_test.go index c5bbe3111a96..fab5f8066502 100644 --- a/rpc_util_test.go +++ b/rpc_util_test.go @@ -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) }