diff options
Diffstat (limited to 'ethutil/rlp_test.go')
-rw-r--r-- | ethutil/rlp_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ethutil/rlp_test.go b/ethutil/rlp_test.go index ce2535663..9e8127aab 100644 --- a/ethutil/rlp_test.go +++ b/ethutil/rlp_test.go @@ -129,6 +129,11 @@ func TestEncodeDecodeBytes(t *testing.T) { } } +func TestEncodeZero(t *testing.T) { + b := NewValue(0).Encode() + fmt.Println(b) +} + func BenchmarkEncodeDecode(b *testing.B) { for i := 0; i < b.N; i++ { bytes := Encode([]interface{}{"dog", "god", "cat"}) |