From 3e22ad05a300d496e34b66ee6201aade36fc9517 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Tue, 27 Aug 2024 11:35:49 +0300 Subject: [PATCH] rpc/message: Remove incorrect copypaste Signed-off-by: Evgenii Stratonikov --- rpc/message/test/message.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rpc/message/test/message.go b/rpc/message/test/message.go index 0849b20..96b6de4 100644 --- a/rpc/message/test/message.go +++ b/rpc/message/test/message.go @@ -104,11 +104,6 @@ func testCompatibility(t *testing.T, msgGen func(empty bool) message.Message) { require.NoError(t, err) require.JSONEq(t, string(a), string(b)) - if len(a) == 0 { - require.Empty(t, b) - } else { - require.Equal(t, a, b) - } } t.Run("empty", func(t *testing.T) { msg := msgGen(true)