diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-04-22 21:50:50 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-04-22 21:50:50 +0800 |
commit | 35595560f0111ab09427481144f654ab579f5e5a (patch) | |
tree | 74634a9f8ea2307554d1a675a741215bd872d8f7 /common/bytes_test.go | |
parent | 2f4cc72119847775d3edd5e9e74075aa9297896f (diff) | |
parent | e1f616fadf4fe20030d518d0c3f2a3f05186ab68 (diff) | |
download | go-tangerine-35595560f0111ab09427481144f654ab579f5e5a.tar go-tangerine-35595560f0111ab09427481144f654ab579f5e5a.tar.gz go-tangerine-35595560f0111ab09427481144f654ab579f5e5a.tar.bz2 go-tangerine-35595560f0111ab09427481144f654ab579f5e5a.tar.lz go-tangerine-35595560f0111ab09427481144f654ab579f5e5a.tar.xz go-tangerine-35595560f0111ab09427481144f654ab579f5e5a.tar.zst go-tangerine-35595560f0111ab09427481144f654ab579f5e5a.zip |
Merge pull request #776 from fjl/win32-build-fixes
Win32 build fixes
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} |