test typing...
This commit is contained in:
parent
825dac2a54
commit
d69e9389c3
@ -2,6 +2,7 @@ package www
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@ -15,7 +16,10 @@ func TestClient_GetUserInfo(t *testing.T) {
|
||||
req := CreateGetPwdRequest()
|
||||
req.UserName = "ttom666"
|
||||
|
||||
resp, _ := c.GetUserInfo(req)
|
||||
resp, err := c.GetUserInfo(req)
|
||||
if err != nil {
|
||||
log.Fatalln(err)
|
||||
}
|
||||
fmt.Println(resp.GetHttpContentString())
|
||||
fmt.Println(resp.GetHttpHeaders())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user