diff --git a/protocol/rest/rest_invoker_test.go b/protocol/rest/rest_invoker_test.go
index e54041f806102005c296ee423ef75e0a009e02b7..fc027e6e737ba46d5602bcc017d50107de0552b1 100644
--- a/protocol/rest/rest_invoker_test.go
+++ b/protocol/rest/rest_invoker_test.go
@@ -19,9 +19,6 @@ package rest
 
 import (
 	"context"
-	"github.com/apache/dubbo-go/protocol/rest/client"
-	"github.com/apache/dubbo-go/protocol/rest/client/client_impl"
-	"github.com/apache/dubbo-go/protocol/rest/server/server_impl"
 	"github.com/emicklei/go-restful/v3"
 	"testing"
 	"time"
@@ -38,6 +35,9 @@ import (
 	"github.com/apache/dubbo-go/config/rest"
 	_ "github.com/apache/dubbo-go/config/rest/config_reader/reader_impl"
 	"github.com/apache/dubbo-go/protocol/invocation"
+	"github.com/apache/dubbo-go/protocol/rest/client"
+	"github.com/apache/dubbo-go/protocol/rest/client/client_impl"
+	"github.com/apache/dubbo-go/protocol/rest/server/server_impl"
 )
 
 func TestRestInvoker_Invoke(t *testing.T) {