From 5c05d1c287040d39ad69074c725982790aaa8b0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=AB=98=E8=BE=9B=E6=A0=BC?= <xg.gao@tianrang-inc.com>
Date: Mon, 19 Aug 2019 21:20:44 +0800
Subject: [PATCH] fix typo

---
 registry/consul/utils_test.go   | 8 ++++----
 registry/nacos/registry_test.go | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/registry/consul/utils_test.go b/registry/consul/utils_test.go
index ce6e5fc77..dd4167d49 100644
--- a/registry/consul/utils_test.go
+++ b/registry/consul/utils_test.go
@@ -29,13 +29,13 @@ import (
 )
 
 import (
-	"github.com/apache/dubbo-go/common"
-	"github.com/apache/dubbo-go/common/constant"
-	"github.com/apache/dubbo-go/registry"
+	"github.com/hashicorp/consul/agent"
 )
 
 import (
-	"github.com/hashicorp/consul/agent"
+	"github.com/apache/dubbo-go/common"
+	"github.com/apache/dubbo-go/common/constant"
+	"github.com/apache/dubbo-go/registry"
 )
 
 var (
diff --git a/registry/nacos/registry_test.go b/registry/nacos/registry_test.go
index 97dea0d2b..953f439cc 100644
--- a/registry/nacos/registry_test.go
+++ b/registry/nacos/registry_test.go
@@ -139,7 +139,7 @@ func TestNacosRegistry_Subscribe_del(t *testing.T) {
 	assert.Regexp(t, ".*ServiceEvent{Action{add}.*", serviceEvent2.String())
 
 	nacosReg := reg.(*nacosRegistry)
-	//deregister  instance to mock instance offline
+	//deregister instance to mock instance offline
 	nacosReg.namingClient.DeregisterInstance(vo.DeregisterInstanceParam{Ip: "127.0.0.2", Port: 20000, ServiceName: "providers:com.ikurento.user.UserProvider:1.0.0:guangzhou-idc"})
 
 	serviceEvent3, _ := listener.Next()
-- 
GitLab