Skip to content

Commit

Permalink
change test case method
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyx committed May 25, 2020
1 parent c21d928 commit b364f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/zookeeper/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b364f31

Please sign in to comment.