podhmo / go-webtest

Sometimes, easy is better than simple
MIT License
1 stars 0 forks source link

make same format, status check's error message and debug tracing's output of response ? #63

Closed podhmo closed 5 years ago

podhmo commented 5 years ago

now

    Response: ------------------------------
    HTTP/1.1 200 OK
    Connection: close
    Content-Type: application/json

    {"result":6}
    ----------------------------------------

and

        integration_test.go:103: unexpected error, status code, got is "200 OK", but want is "201 Created"
             response is {"result":6}