mirror of
https://github.com/v2ray/v2ray-core.git
synced 2024-04-21 12:31:52 +00:00
fix test break
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user