fix test break

pull/215/head
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
1 changed files with 1 additions and 1 deletions

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,
})