Export CloseSignalConnection (#936)
* Export CloseSignalConnection There are a few places where that close pattern is repeated. Export it and use that function in other places directly. * fix test
This commit is contained in:
@@ -184,7 +184,7 @@ func TestTrackPublishing(t *testing.T) {
|
||||
func TestOutOfOrderUpdates(t *testing.T) {
|
||||
p := newParticipantForTest("test")
|
||||
p.SetMetadata("initial metadata")
|
||||
sink := p.GetResponseSink().(*routingfakes.FakeMessageSink)
|
||||
sink := p.getResponseSink().(*routingfakes.FakeMessageSink)
|
||||
pi1 := p.ToProto()
|
||||
p.SetMetadata("second update")
|
||||
pi2 := p.ToProto()
|
||||
|
||||
Reference in New Issue
Block a user