From b364f31815af8067cee14b6e7f618011f59b95de Mon Sep 17 00:00:00 2001 From: Joe Zou Date: Tue, 26 May 2020 00:42:20 +0800 Subject: [PATCH] change test case method --- registry/zookeeper/registry_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/zookeeper/registry_test.go b/registry/zookeeper/registry_test.go index 2e2602e64c..d915fc2ce1 100644 --- a/registry/zookeeper/registry_test.go +++ b/registry/zookeeper/registry_test.go @@ -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()