Skip to content
Snippets Groups Projects
Commit b364f318 authored by 邹毅贤's avatar 邹毅贤
Browse files

change test case method

parent c21d9284
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