mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
Improved AppendUint tests
This commit is contained in:
@@ -17,6 +17,10 @@ func TestAppendUint(t *testing.T) {
|
||||
testAppendUint(t, 0)
|
||||
testAppendUint(t, 123)
|
||||
testAppendUint(t, 0x7fffffff)
|
||||
|
||||
for i := 0; i < 2345; i++ {
|
||||
testAppendUint(t, i)
|
||||
}
|
||||
}
|
||||
|
||||
func TestReadHexIntSuccess(t *testing.T) {
|
||||
|
||||
@@ -17,6 +17,10 @@ func TestAppendUint(t *testing.T) {
|
||||
testAppendUint(t, 0)
|
||||
testAppendUint(t, 123)
|
||||
testAppendUint(t, 0x7fffffffffffffff)
|
||||
|
||||
for i := 0; i < 2345; i++ {
|
||||
testAppendUint(t, i)
|
||||
}
|
||||
}
|
||||
|
||||
func TestReadHexIntSuccess(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user