rename stream.Cancel to stream.CloseForShutdown

This commit is contained in:
Marten Seemann 2017-12-13 16:32:32 +07:00
parent d28f09837e
commit 8c5741ae79
8 changed files with 35 additions and 34 deletions

View file

@ -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{})