mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
rename stream.Cancel to stream.CloseForShutdown
This commit is contained in:
parent
d28f09837e
commit
8c5741ae79
8 changed files with 35 additions and 34 deletions
|
@ -245,7 +245,7 @@ var _ = Describe("Streams Map", func() {
|
|||
testErr := errors.New("test error")
|
||||
openMaxNumStreams()
|
||||
for _, str := range m.streams {
|
||||
str.(*mocks.MockStreamI).EXPECT().Cancel(testErr)
|
||||
str.(*mocks.MockStreamI).EXPECT().CloseForShutdown(testErr)
|
||||
}
|
||||
|
||||
done := make(chan struct{})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue