fix test break

pull/215/head
v2ray 9 years ago
parent 2c259165ff
commit 968fffcffb
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

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

Loading…
Cancel
Save