aboutsummaryrefslogtreecommitdiff
path: root/bytesconv_test.go
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-11-28 20:47:17 +0200
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-11-28 20:47:17 +0200
commit58d404c7e9ebfeccf90c988d28490188ae2288c2 (patch)
tree245d6d45a3c14992f4875d237463595aa86eefcd /bytesconv_test.go
parentRemoved flackiness from Logger tests by skipping request duration (diff)
downloadfasthttp-58d404c7e9ebfeccf90c988d28490188ae2288c2.tar.gz
fasthttp-58d404c7e9ebfeccf90c988d28490188ae2288c2.tar.bz2
fasthttp-58d404c7e9ebfeccf90c988d28490188ae2288c2.zip
Issue #7: an attempt to blindly fix arm build according to @msoap suggestion
Diffstat (limited to 'bytesconv_test.go')
-rw-r--r--bytesconv_test.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/bytesconv_test.go b/bytesconv_test.go
index 89534fd..bbf4d41 100644
--- a/bytesconv_test.go
+++ b/bytesconv_test.go
@@ -48,15 +48,6 @@ func testReadHexIntError(t *testing.T, s string) {
}
}
-func TestReadHexIntSuccess(t *testing.T) {
- testReadHexIntSuccess(t, "0", 0)
- testReadHexIntSuccess(t, "fF", 0xff)
- testReadHexIntSuccess(t, "00abc", 0xabc)
- testReadHexIntSuccess(t, "7fffffff", 0x7fffffff)
- testReadHexIntSuccess(t, "000", 0)
- testReadHexIntSuccess(t, "1234ZZZ", 0x1234)
-}
-
func testReadHexIntSuccess(t *testing.T, s string, expectedN int) {
r := bytes.NewBufferString(s)
br := bufio.NewReader(r)
@@ -88,12 +79,6 @@ func TestAppendHTTPDate(t *testing.T) {
}
}
-func TestParseUintSuccess(t *testing.T) {
- testParseUintSuccess(t, "0", 0)
- testParseUintSuccess(t, "123", 123)
- testParseUintSuccess(t, "123456789012345678", 123456789012345678)
-}
-
func TestParseUintError(t *testing.T) {
// empty string
testParseUintError(t, "")