[#109] rpc/message: Remove incorrect copypaste
All checks were successful
DCO action / DCO (pull_request) Successful in 1m22s
Tests and linters / Tests (1.23) (pull_request) Successful in 1m18s
Tests and linters / Tests (1.22) (pull_request) Successful in 1m21s
Tests and linters / Tests with -race (pull_request) Successful in 1m36s
Tests and linters / Lint (pull_request) Successful in 2m33s
All checks were successful
DCO action / DCO (pull_request) Successful in 1m22s
Tests and linters / Tests (1.23) (pull_request) Successful in 1m18s
Tests and linters / Tests (1.22) (pull_request) Successful in 1m21s
Tests and linters / Tests with -race (pull_request) Successful in 1m36s
Tests and linters / Lint (pull_request) Successful in 2m33s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
5fece80b42
commit
ca33fc4adb
1 changed files with 0 additions and 5 deletions
|
@ -104,11 +104,6 @@ func testCompatibility(t *testing.T, msgGen func(empty bool) message.Message) {
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
require.JSONEq(t, string(a), string(b))
|
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) {
|
t.Run("empty", func(t *testing.T) {
|
||||||
msg := msgGen(true)
|
msg := msgGen(true)
|
||||||
|
|
Loading…
Reference in a new issue