remove unused version parameter from receive stream constructor

This commit is contained in:
Marten Seemann 2022-12-24 12:49:05 +13:00
parent 1646fd545e
commit 0f352f2653
4 changed files with 3 additions and 6 deletions

View file

@ -31,7 +31,7 @@ var _ = Describe("Receive Stream", func() {
BeforeEach(func() {
mockSender = NewMockStreamSender(mockCtrl)
mockFC = mocks.NewMockStreamFlowController(mockCtrl)
str = newReceiveStream(streamID, mockSender, mockFC, protocol.VersionWhatever)
str = newReceiveStream(streamID, mockSender, mockFC)
timeout := scaleDuration(250 * time.Millisecond)
strWithTimeout = gbytes.TimeoutReader(str, timeout)