This is an automated email from the ASF dual-hosted git repository. mark4z pushed a commit to branch 0.4.0 in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git
commit c79240fda5feb6e432079f700a339332517006b5 Author: baerwang <[email protected]> AuthorDate: Mon Oct 18 12:26:55 2021 +0800 update:csrf test import Former-commit-id: 084ed12a5548ef62f35faea9dee96d4a91f46132 --- samples/dubbogo/simple/csrf/test/pixiu_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/samples/dubbogo/simple/csrf/test/pixiu_test.go b/samples/dubbogo/simple/csrf/test/pixiu_test.go index 2fed5cf..b57f079 100644 --- a/samples/dubbogo/simple/csrf/test/pixiu_test.go +++ b/samples/dubbogo/simple/csrf/test/pixiu_test.go @@ -18,7 +18,6 @@ package csrf import ( - "github.com/stretchr/testify/assert" "io/ioutil" "net/http" "strings" @@ -26,6 +25,10 @@ import ( "time" ) +import ( + "github.com/stretchr/testify/assert" +) + func TestCsrfHeader(t *testing.T) { urlStr := "http://localhost:8888/user/" client := &http.Client{Timeout: 5 * time.Second}
