1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

fix test break

This commit is contained in:
v2ray 2016-07-03 22:33:08 +02:00
parent 2c259165ff
commit 968fffcffb
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -66,7 +66,7 @@ func TestSendingQueueClear(t *testing.T) {
func TestSendingWindow(t *testing.T) {
assert := assert.On(t)
window := NewSendingWindow(nil, 5)
window := NewSendingWindow(5, nil, nil)
window.Push(&DataSegment{
Number: 0,
})