remove unused version parameter from stream constructor

This commit is contained in:
Marten Seemann 2022-12-24 12:50:31 +13:00
parent 0f352f2653
commit d972a5e8f2
3 changed files with 4 additions and 7 deletions

View file

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