mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-08 10:27:10 -05:00
fix test break
This commit is contained in:
parent
2c259165ff
commit
968fffcffb
@ -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…
Reference in New Issue
Block a user