diff options
author | Maran <maran.hidskes@gmail.com> | 2014-04-01 20:20:55 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-04-01 20:20:55 +0800 |
commit | 0a8801082676d64f904cbb5b62c1159e0bbd7788 (patch) | |
tree | 05e9c4ea80d5e01cca53d583318f43606418a19e /ethutil/rlp_test.go | |
parent | 5f49a659c36dbfb8c330ddc3d4565c19a9a936b5 (diff) | |
parent | 7277c420479239fbea78417e42c43ee0162c2728 (diff) | |
download | dexon-0a8801082676d64f904cbb5b62c1159e0bbd7788.tar dexon-0a8801082676d64f904cbb5b62c1159e0bbd7788.tar.gz dexon-0a8801082676d64f904cbb5b62c1159e0bbd7788.tar.bz2 dexon-0a8801082676d64f904cbb5b62c1159e0bbd7788.tar.lz dexon-0a8801082676d64f904cbb5b62c1159e0bbd7788.tar.xz dexon-0a8801082676d64f904cbb5b62c1159e0bbd7788.tar.zst dexon-0a8801082676d64f904cbb5b62c1159e0bbd7788.zip |
Merge conflicts
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"}) |