rpc/message: Remove incorrect copypaste
Some checks failed
Tests and linters / Tests (1.22) (pull_request) Successful in 1m18s
DCO action / DCO (pull_request) Failing after 1m12s
Tests and linters / Tests (1.23) (pull_request) Successful in 1m17s
Tests and linters / Tests with -race (pull_request) Successful in 1m17s
Tests and linters / Lint (pull_request) Successful in 2m19s

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-08-27 11:35:49 +03:00
parent 5fece80b42
commit 3e22ad05a3

View file

@ -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)