mirror of https://github.com/v2ray/v2ray-core
fix test break
parent
2c259165ff
commit
968fffcffb
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue