Skip to content
Snippets Groups Projects
Commit 567acb11 authored by Patrick's avatar Patrick
Browse files

modify test

parent f1908a08
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment