forked from quic-go/quic-go
rename the scheduleSending callback to onHasStreamData in the stream
This callback also takes the stream ID, which will later be used to create a queue of streams that have data for writing available.
This commit is contained in:
@@ -25,7 +25,7 @@ var _ = Describe("Crypto Stream", func() {
|
||||
})
|
||||
|
||||
It("says if it has data for writing", func() {
|
||||
mockSender.EXPECT().scheduleSending()
|
||||
mockSender.EXPECT().onHasStreamData(str.version.CryptoStreamID())
|
||||
Expect(str.hasDataForWriting()).To(BeFalse())
|
||||
done := make(chan struct{})
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user