diff --git a/protocol/rest/rest_protocol_test.go b/protocol/rest/rest_protocol_test.go index 739f00b86d6058607e52d4a931d98afa349bb582..20417f7579564499b7482347e345977c784c0cdb 100644 --- a/protocol/rest/rest_protocol_test.go +++ b/protocol/rest/rest_protocol_test.go @@ -94,6 +94,7 @@ func TestJsonrpcProtocol_Export(t *testing.T) { fmt.Println(url.Path) _, ok := proto.(*RestProtocol).ExporterMap().Load(strings.TrimPrefix(url.Path, "/")) assert.True(t, ok) + exporter.Unexport() _, ok = proto.(*RestProtocol).ExporterMap().Load(strings.TrimPrefix(url.Path, "/")) assert.False(t, ok)