aboutsummaryrefslogtreecommitdiff
path: root/bytesconv_test.go
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-11-28 23:11:07 +0200
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-11-28 23:11:07 +0200
commitc04fdb47a5b120920be623651bafedba4aca3065 (patch)
tree588ed78cd16e08e76231d9b10fd8ccc45241109d /bytesconv_test.go
parentAdded a benchmark for writeHexInt (diff)
downloadfasthttp-c04fdb47a5b120920be623651bafedba4aca3065.tar.gz
fasthttp-c04fdb47a5b120920be623651bafedba4aca3065.tar.bz2
fasthttp-c04fdb47a5b120920be623651bafedba4aca3065.zip
Test writeHexInt for 32-bit and 64-bit architectures
Diffstat (limited to 'bytesconv_test.go')
-rw-r--r--bytesconv_test.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/bytesconv_test.go b/bytesconv_test.go
index 8ccae8b..89c735e 100644
--- a/bytesconv_test.go
+++ b/bytesconv_test.go
@@ -8,13 +8,6 @@ import (
"time"
)
-func TestWriteHexInt(t *testing.T) {
- testWriteHexInt(t, 0, "0")
- testWriteHexInt(t, 1, "1")
- testWriteHexInt(t, 0x123, "123")
- testWriteHexInt(t, 0x7fffffff, "7fffffff")
-}
-
func testAppendUint(t *testing.T, n int) {
expectedS := fmt.Sprintf("%d", n)
s := AppendUint(nil, n)