Skip to content
Snippets Groups Projects
Commit e6583c2b authored by Patrick Jiang(白泽)'s avatar Patrick Jiang(白泽) Committed by GitHub
Browse files

Merge pull request #542 from zouyx/feature/addRegistryUnpub

Rft: Change test case method
parents a918c2bf 930bfe82
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ func Test_UnSubscribe(t *testing.T) {
}
assert.Regexp(t, ".*ServiceEvent{Action{add}.*", serviceEvent.String())
reg2.DoUnsubscribe(&url)
reg2.UnSubscribe(&url, nil)
assert.Nil(t, reg2.listener)
defer ts.Stop()
......
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