Important Notice: Starting April 1st, 2025, OSx/macOS builds will no longer be supported due to the end-of-life (EOL) of VMWare support for macOS infrastructure.
Join over 500,000 developers testing and building on Travis CI
In Go 1.7, where ResponseRecorder.Result was introduced, ContentLength isn't handled properly by Result. Just remove the extra check for it in the client code, and rely on io.EOF instead. This more robust anyway.