From 851b998f3b7e1c4f26df7e3f6526403f00969c3a Mon Sep 17 00:00:00 2001 From: Guilherme Ferreira Date: Fri, 25 Aug 2023 12:28:01 -0300 Subject: [PATCH] rlp: change expected type on test --- rlp/decode_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rlp/decode_test.go b/rlp/decode_test.go index 9fd8422f6b..d1b7d56ac8 100644 --- a/rlp/decode_test.go +++ b/rlp/decode_test.go @@ -102,8 +102,8 @@ func TestStreamErrors(t *testing.T) { newStream func([]byte) *Stream // uses bytes.Reader if nil error error }{ - {"C0", calls{"Bytes"}, nil, ErrExpectedString}, - {"C0", calls{"Uint"}, nil, ErrExpectedString}, + {"C0", calls{"Bytes"}, nil, ErrExpectedStringOrByte}, + {"C0", calls{"Uint"}, nil, ErrExpectedStringOrByte}, {"89000000000000000001", calls{"Uint"}, nil, errUintOverflow}, {"00", calls{"List"}, nil, ErrExpectedList}, {"80", calls{"List"}, nil, ErrExpectedList},