diff --git a/protocol/rest/rest_config_reader/default_config_reader_test.go b/protocol/rest/rest_config_reader/default_config_reader_test.go index 5990c5314e1531f89889ee115f514ed03cff3fc9..ec5384871b74d615d6db3e6d58e1e19d0c7da7ae 100644 --- a/protocol/rest/rest_config_reader/default_config_reader_test.go +++ b/protocol/rest/rest_config_reader/default_config_reader_test.go @@ -23,10 +23,13 @@ import ( ) import ( - "github.com/apache/dubbo-go/common/constant" "github.com/stretchr/testify/assert" ) +import ( + "github.com/apache/dubbo-go/common/constant" +) + func TestDefaultConfigReader_ReadConsumerConfig(t *testing.T) { err := os.Setenv(constant.CONF_CONSUMER_FILE_PATH, "./testdata/consumer_config.yml") assert.NoError(t, err)