diff options
author | Felix Lange <fjl@twurst.com> | 2015-04-22 16:58:11 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-04-22 18:31:19 +0800 |
commit | 9d152d6191349316d610208af2f55ef578785355 (patch) | |
tree | aa6f3d22166a904ff6bf8b1c66d3c0fd6566c4b4 /common/bytes_test.go | |
parent | 2f4cc72119847775d3edd5e9e74075aa9297896f (diff) | |
download | go-tangerine-9d152d6191349316d610208af2f55ef578785355.tar go-tangerine-9d152d6191349316d610208af2f55ef578785355.tar.gz go-tangerine-9d152d6191349316d610208af2f55ef578785355.tar.bz2 go-tangerine-9d152d6191349316d610208af2f55ef578785355.tar.lz go-tangerine-9d152d6191349316d610208af2f55ef578785355.tar.xz go-tangerine-9d152d6191349316d610208af2f55ef578785355.tar.zst go-tangerine-9d152d6191349316d610208af2f55ef578785355.zip |
common: delete BinaryLength
The test is failing the 32bit build and the function
is not used anywhere.
Diffstat (limited to 'common/bytes_test.go')
-rw-r--r-- | common/bytes_test.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/common/bytes_test.go b/common/bytes_test.go index 4b00aa49b..069af984c 100644 --- a/common/bytes_test.go +++ b/common/bytes_test.go @@ -79,20 +79,6 @@ func (s *BytesSuite) TestReadVarInt(c *checker.C) { c.Assert(res1, checker.Equals, exp1) } -func (s *BytesSuite) TestBinaryLength(c *checker.C) { - data1 := 0 - data2 := 920987656789 - - exp1 := 0 - exp2 := 5 - - res1 := BinaryLength(data1) - res2 := BinaryLength(data2) - - c.Assert(res1, checker.Equals, exp1) - c.Assert(res2, checker.Equals, exp2) -} - func (s *BytesSuite) TestCopyBytes(c *checker.C) { data1 := []byte{1, 2, 3, 4} exp1 := []byte{1, 2, 3, 4} |