Skip to content

Commit

Permalink
rlp: change expected type on test
Browse files Browse the repository at this point in the history
  • Loading branch information
didaunesp committed Aug 25, 2023
1 parent 558a6d4 commit 851b998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rlp/decode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 851b998

Please sign in to comment.